Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 113.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 183.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2295/0.2295, allocations: 44.2 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 64.09 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4022, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.00271/0.4049, allocations: 1.723 MB / 0.5206 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001507/0.4051, allocations: 77 kB / 0.5206 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.4052, allocations: 2.375 kB / 0.5206 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.099e-05/0.4052, allocations: 15.47 kB / 0.5206 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.4053, allocations: 25.94 kB / 0.5207 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.744e-05/0.4054, allocations: 21.98 kB / 0.5207 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.4055, allocations: 102.6 kB / 0.5208 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.4057, allocations: 54.44 kB / 0.5208 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.492e-05/0.4058, allocations: 39.11 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/0.4059, allocations: 48.28 kB / 0.5209 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.4059, allocations: 15.39 kB / 0.5209 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.4059, allocations: 9.875 kB / 0.5209 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.4059, allocations: 22.8 kB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.406, allocations: 56.06 kB / 0.521 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.4062, allocations: 114.3 kB / 0.5211 GB, free: 2.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4062, allocations: 4 kB / 0.5211 GB, free: 2.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4062, allocations: 5.062 kB / 0.5211 GB, free: 2.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.4062, allocations: 0 / 0.5211 GB, free: 2.078 MB / 382.1 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.0004128/0.4066, allocations: 396.5 kB / 0.5215 GB, free: 1.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4067, allocations: 9.844 kB / 0.5215 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.4067, allocations: 14.55 kB / 0.5215 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.469e-05/0.4068, allocations: 175.6 kB / 0.5217 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.4068, allocations: 9.891 kB / 0.5217 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.4068, allocations: 12.41 kB / 0.5217 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.4071, allocations: 129.6 kB / 0.5219 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4071, allocations: 1.719 kB / 0.5219 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4071, allocations: 4.734 kB / 0.5219 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.4071, allocations: 7.062 kB / 0.5219 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.4072, allocations: 72.05 kB / 0.5219 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006635/0.4079, allocations: 0.7128 MB / 0.5226 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.913e-05/0.408, allocations: 174.3 kB / 0.5228 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.408, allocations: 80.14 kB / 0.5229 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.408, allocations: 77.02 kB / 0.5229 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.408, allocations: 107.1 kB / 0.5231 GB, free: 244 kB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.408, allocations: 0 / 0.5231 GB, free: 244 kB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.882e-05/0.4081, allocations: 38.17 kB / 0.5231 GB, free: 204 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.4081, allocations: 134.7 kB / 0.5232 GB, free: 56 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.4083, allocations: 143.7 kB / 0.5234 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.4083, allocations: 25.7 kB / 0.5234 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.4084, allocations: 130.8 kB / 0.5235 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-06/0.4084, allocations: 5.422 kB / 0.5235 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.4084, allocations: 19.33 kB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4086, allocations: 319.6 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.4086, allocations: 12.36 kB / 0.5238 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.09e-05/0.4086, allocations: 45.97 kB / 0.5239 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.195e-05/0.4087, allocations: 50.98 kB / 0.5239 GB, free: 15.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4087, allocations: 1.734 kB / 0.5239 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001635/0.4089, allocations: 78.44 kB / 0.524 GB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4089, allocations: 10.91 kB / 0.524 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4089, allocations: 1.062 kB / 0.524 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4089, allocations: 2.75 kB / 0.524 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.409, allocations: 14.03 kB / 0.524 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.409, allocations: 6.828 kB / 0.524 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.4091, allocations: 2.406 kB / 0.524 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.4091, allocations: 11.23 kB / 0.5241 GB, free: 15.25 MB / 398.1 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 9.754e-05/0.4092, allocations: 194.4 kB / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.4093, allocations: 114 kB / 0.5244 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.4093, allocations: 113.4 kB / 0.5245 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/0.4094, allocations: 186.3 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.456e-05/0.4095, allocations: 176.9 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.041e-05/0.4096, allocations: 182.1 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.4098, allocations: 446 kB / 0.5254 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.961e-05/0.4099, allocations: 102.8 kB / 0.5255 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.41, allocations: 109.9 kB / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.4101, allocations: 177.5 kB / 0.5258 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.4102, allocations: 182.2 kB / 0.526 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.229e-05/0.4103, allocations: 182 kB / 0.5261 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.114e-05/0.4103, allocations: 179 kB / 0.5263 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.4106, allocations: 318.6 kB / 0.5266 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.4108, allocations: 190.2 kB / 0.5268 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.4109, allocations: 182.2 kB / 0.527 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.411, allocations: 103.3 kB / 0.5271 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.4111, allocations: 182.2 kB / 0.5272 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.499e-05/0.4112, allocations: 105 kB / 0.5273 GB, free: 11.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.369e-05/0.4112, allocations: 118.2 kB / 0.5274 GB, free: 11.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4112, allocations: 0 / 0.5274 GB, free: 11.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.4115, allocations: 13.53 kB / 0.5275 GB, free: 11.66 MB / 398.1 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 0.0001202/0.4116, allocations: 169.4 kB / 0.5276 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.178e-05/0.4117, allocations: 20.56 kB / 0.5276 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4118, allocations: 5.719 kB / 0.5276 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.4118, allocations: 0 / 0.5276 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.4121, allocations: 470 kB / 0.5281 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.4125, allocations: 239.9 kB / 0.5283 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.4128, allocations: 0.7005 MB / 0.529 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.843e-05/0.4129, allocations: 4.344 kB / 0.529 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.4129, allocations: 9.562 kB / 0.529 GB, free: 10.11 MB / 398.1 MB Notification: Performance of SimCode: time 2.224e-06/0.4129, allocations: 1.469 kB / 0.529 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Templates: time 0.002443/0.4154, allocations: 416.1 kB / 0.5294 GB, free: 10.03 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches