Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 175 kB / 17.41 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.7 MB / 243.9 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007957/0.0007958, allocations: 93.72 kB / 295 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3882/0.3882, allocations: 44.33 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003291, allocations: 8 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3574, allocations: 61.91 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001955/0.3594, allocations: 1.382 MB / 0.5141 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002612/0.3597, allocations: 74.41 kB / 0.5142 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3598, allocations: 6.719 kB / 0.5142 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.3598, allocations: 13.19 kB / 0.5142 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.386e-05/0.3599, allocations: 22.05 kB / 0.5142 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.3601, allocations: 21.88 kB / 0.5142 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.3602, allocations: 90.09 kB / 0.5143 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.3604, allocations: 49.56 kB / 0.5144 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.065e-05/0.3605, allocations: 33.16 kB / 0.5144 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.3606, allocations: 37.11 kB / 0.5144 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.3606, allocations: 8.125 kB / 0.5144 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.737e-05/0.3606, allocations: 5.562 kB / 0.5144 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.3606, allocations: 17.97 kB / 0.5144 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.3607, allocations: 71.5 kB / 0.5145 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.3609, allocations: 115.2 kB / 0.5146 GB, free: 36.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.3609, allocations: 2.594 kB / 0.5146 GB, free: 36.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3609, allocations: 0 / 0.5146 GB, free: 36.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.3609, allocations: 0 / 0.5146 GB, free: 36.63 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005388/0.3615, allocations: 379.9 kB / 0.515 GB, free: 36.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.3615, allocations: 9.031 kB / 0.515 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.3616, allocations: 13.69 kB / 0.515 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3617, allocations: 179.3 kB / 0.5152 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.3618, allocations: 11.58 kB / 0.5152 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3618, allocations: 17.25 kB / 0.5152 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.3621, allocations: 128.6 kB / 0.5153 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3621, allocations: 3.125 kB / 0.5153 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3621, allocations: 7.938 kB / 0.5153 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3621, allocations: 3.094 kB / 0.5153 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.3623, allocations: 62.05 kB / 0.5154 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007236/0.363, allocations: 0.7353 MB / 0.5161 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.644e-05/0.3631, allocations: 169.1 kB / 0.5163 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.3631, allocations: 80.14 kB / 0.5164 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.3631, allocations: 75.28 kB / 0.5164 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3631, allocations: 120.8 kB / 0.5166 GB, free: 34.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.3632, allocations: 0 / 0.5166 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.723e-05/0.3632, allocations: 36.52 kB / 0.5166 GB, free: 34.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.3633, allocations: 126.7 kB / 0.5167 GB, free: 34.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3634, allocations: 146.2 kB / 0.5168 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.3634, allocations: 28.67 kB / 0.5169 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.3635, allocations: 123.9 kB / 0.517 GB, free: 34.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.3635, allocations: 0 / 0.517 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/0.3635, allocations: 0 / 0.517 GB, free: 34.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.321e-05/0.3636, allocations: 324.9 kB / 0.5173 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.3636, allocations: 6.906 kB / 0.5173 GB, free: 34.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.3636, allocations: 46.27 kB / 0.5174 GB, free: 33.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.3637, allocations: 53.97 kB / 0.5174 GB, free: 33.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3637, allocations: 2.969 kB / 0.5174 GB, free: 33.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001342/0.3638, allocations: 73.23 kB / 0.5175 GB, free: 33.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3638, allocations: 5.562 kB / 0.5175 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3639, allocations: 0 / 0.5175 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3639, allocations: 2.938 kB / 0.5175 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.3639, allocations: 15.28 kB / 0.5175 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.364, allocations: 6.688 kB / 0.5175 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.364, allocations: 6.5 kB / 0.5175 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.364, allocations: 6.688 kB / 0.5175 GB, free: 33.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3642, allocations: 199.6 kB / 0.5177 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.3642, allocations: 116.2 kB / 0.5178 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.3643, allocations: 115.6 kB / 0.5179 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/0.3643, allocations: 180.3 kB / 0.5181 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.973e-05/0.3644, allocations: 187.3 kB / 0.5183 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.955e-05/0.3644, allocations: 183.1 kB / 0.5185 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.3647, allocations: 433 kB / 0.5189 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/0.3647, allocations: 108.6 kB / 0.519 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.3648, allocations: 105.8 kB / 0.5191 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.465e-05/0.3648, allocations: 181.1 kB / 0.5192 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.3649, allocations: 187.7 kB / 0.5194 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.711e-05/0.3649, allocations: 177.1 kB / 0.5196 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.949e-05/0.3649, allocations: 183.1 kB / 0.5198 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.3651, allocations: 319.8 kB / 0.5201 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.3651, allocations: 184.2 kB / 0.5202 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.3652, allocations: 183.8 kB / 0.5204 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.3653, allocations: 105.6 kB / 0.5205 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.3653, allocations: 177 kB / 0.5207 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.3654, allocations: 116.4 kB / 0.5208 GB, free: 30.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.301e-05/0.3655, allocations: 109.2 kB / 0.5209 GB, free: 30.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3655, allocations: 0 / 0.5209 GB, free: 30.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003069/0.3658, allocations: 18.44 kB / 0.5209 GB, free: 30.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.124e-05/0.3659, allocations: 175.2 kB / 0.5211 GB, free: 30.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.016e-05/0.366, allocations: 22.28 kB / 0.5211 GB, free: 30.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.366, allocations: 384 / 0.5211 GB, free: 30.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.366, allocations: 4 kB / 0.5211 GB, free: 30.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3663, allocations: 0.522 MB / 0.5216 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.3666, allocations: 286.5 kB / 0.5219 GB, free: 29.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.3668, allocations: 0.6932 MB / 0.5226 GB, free: 28.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.561e-05/0.3668, allocations: 11.83 kB / 0.5226 GB, free: 28.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.3668, allocations: 10.34 kB / 0.5226 GB, free: 28.56 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3669, allocations: 4 kB / 0.5226 GB, free: 28.55 MB / 378.7 MB Notification: Performance of Templates: time 0.002339/0.3692, allocations: 379.2 kB / 0.523 GB, free: 28.49 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches