Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001019, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008075/0.0008071, allocations: 91.75 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1982/0.1982, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.115e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3502/0.477, allocations: 86.86 MB / 0.5865 GB, free: 2.461 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.4773, allocations: 67.95 kB / 0.5866 GB, free: 2.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004581/0.4819, allocations: 1.75 MB / 0.5883 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.482, allocations: 0 / 0.5883 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.482, allocations: 0 / 0.5883 GB, free: 0.6523 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000482/0.4825, allocations: 402.3 kB / 0.5887 GB, free: 220 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.4825, allocations: 8.031 kB / 0.5887 GB, free: 212 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.4826, allocations: 7.906 kB / 0.5887 GB, free: 204 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.4827, allocations: 179 kB / 0.5889 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.4827, allocations: 8 kB / 0.5889 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.4828, allocations: 11.95 kB / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.483, allocations: 100.7 kB / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.483, allocations: 0 / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.483, allocations: 8 kB / 0.589 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.483, allocations: 4 kB / 0.589 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.4832, allocations: 59.84 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.4839, allocations: 487.1 kB / 0.5895 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.484, allocations: 62.56 kB / 0.5896 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.472e-05/0.4841, allocations: 36.98 kB / 0.5896 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.4841, allocations: 0 / 0.5896 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.4842, allocations: 42.52 kB / 0.5896 GB, free: 15.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.4842, allocations: 2.953 kB / 0.5896 GB, free: 15.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002568/0.4845, allocations: 90.39 kB / 0.5897 GB, free: 15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.4845, allocations: 55.41 kB / 0.5898 GB, free: 14.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.4846, allocations: 111.1 kB / 0.5899 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4846, allocations: 25.7 kB / 0.5899 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.4847, allocations: 112.1 kB / 0.59 GB, free: 14.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.4847, allocations: 23.64 kB / 0.59 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.4847, allocations: 4 kB / 0.5901 GB, free: 14.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.4848, allocations: 314.8 kB / 0.5904 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.4849, allocations: 19.98 kB / 0.5904 GB, free: 14.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.487e-05/0.4849, allocations: 25.72 kB / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/0.485, allocations: 23.92 kB / 0.5904 GB, free: 14.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.485, allocations: 0 / 0.5904 GB, free: 14.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001694/0.4851, allocations: 98.44 kB / 0.5905 GB, free: 14.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4852, allocations: 4 kB / 0.5905 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4852, allocations: 4 kB / 0.5905 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.4853, allocations: 20.84 kB / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.4855, allocations: 31.97 kB / 0.5906 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000905/0.4864, allocations: 1.304 MB / 0.5918 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.4865, allocations: 19.92 kB / 0.5919 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.4865, allocations: 4.062 kB / 0.5919 GB, free: 12.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/0.4866, allocations: 116.9 kB / 0.592 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.4867, allocations: 4 kB / 0.592 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.4867, allocations: 12.61 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4867, allocations: 3.828 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4867, allocations: 4 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4867, allocations: 3.938 kB / 0.592 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.4871, allocations: 388.1 kB / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4872, allocations: 0 / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.4873, allocations: 20.17 kB / 0.5924 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.615e-05/0.4873, allocations: 28.78 kB / 0.5924 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4874, allocations: 7.953 kB / 0.5924 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008133/0.4882, allocations: 1.293 MB / 0.5937 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4882, allocations: 3.938 kB / 0.5937 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.4884, allocations: 210.9 kB / 0.5939 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.4884, allocations: 81.02 kB / 0.594 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.4885, allocations: 4 kB / 0.594 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.4886, allocations: 19.97 kB / 0.594 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.4886, allocations: 15.94 kB / 0.594 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4886, allocations: 0 / 0.594 GB, free: 10.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.4887, allocations: 95.27 kB / 0.5941 GB, free: 10.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4887, allocations: 0 / 0.5941 GB, free: 10.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.4889, allocations: 27.94 kB / 0.5941 GB, free: 10.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.069e-05/0.489, allocations: 91.25 kB / 0.5942 GB, free: 9.957 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.4893, allocations: 158.5 kB / 0.5944 GB, free: 9.789 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4893, allocations: 4 kB / 0.5944 GB, free: 9.785 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.4894, allocations: 134.6 kB / 0.5945 GB, free: 9.641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.4896, allocations: 14.77 kB / 0.5945 GB, free: 9.629 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.4898, allocations: 127.5 kB / 0.5946 GB, free: 9.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.4901, allocations: 0.7045 MB / 0.5953 GB, free: 8.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.436e-05/0.4901, allocations: 4.188 kB / 0.5953 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.4902, allocations: 7.438 kB / 0.5953 GB, free: 8.734 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4902, allocations: 0 / 0.5953 GB, free: 8.734 MB / 410.7 MB Notification: Performance of Templates: time 0.002934/0.4931, allocations: 0.9435 MB / 0.5963 GB, free: 7.797 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches