Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001577, allocations: 79.88 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4026, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003505/0.4061, allocations: 1.729 MB / 0.5333 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.4064, allocations: 68.73 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.4064, allocations: 5.938 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.318e-05/0.4065, allocations: 18.05 kB / 0.5334 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.4066, allocations: 22.03 kB / 0.5334 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.4067, allocations: 27.41 kB / 0.5335 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.4069, allocations: 95.5 kB / 0.5336 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.4071, allocations: 65.62 kB / 0.5336 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.464e-05/0.4072, allocations: 39.33 kB / 0.5337 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.625e-05/0.4073, allocations: 44.22 kB / 0.5337 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.4073, allocations: 9.625 kB / 0.5337 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.291e-05/0.4073, allocations: 11 kB / 0.5337 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.4074, allocations: 22.67 kB / 0.5337 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.4075, allocations: 56.23 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.4076, allocations: 118.9 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4076, allocations: 0 / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4077, allocations: 5.312 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4077, allocations: 0 / 0.5339 GB, free: 11.84 MB / 398.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.0005587/0.4082, allocations: 399.6 kB / 0.5343 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4083, allocations: 8.25 kB / 0.5343 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.4083, allocations: 10.34 kB / 0.5343 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.4085, allocations: 176.3 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.4085, allocations: 12.73 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.4085, allocations: 11.25 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.4088, allocations: 136.1 kB / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4088, allocations: 4.172 kB / 0.5346 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.4088, allocations: 9.312 kB / 0.5347 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.4089, allocations: 2.75 kB / 0.5347 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.409, allocations: 64.97 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008574/0.4099, allocations: 0.7191 MB / 0.5354 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.41, allocations: 166.5 kB / 0.5356 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.41, allocations: 85.52 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.4101, allocations: 83.22 kB / 0.5357 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/0.4101, allocations: 105.8 kB / 0.5358 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.4101, allocations: 1.375 kB / 0.5358 GB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.955e-05/0.4102, allocations: 36.34 kB / 0.5359 GB, free: 9.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.4103, allocations: 51.41 kB / 0.5359 GB, free: 9.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.4104, allocations: 146.5 kB / 0.5361 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.4104, allocations: 25.7 kB / 0.5361 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.4105, allocations: 130.4 kB / 0.5362 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.4105, allocations: 0 / 0.5362 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.4106, allocations: 23.02 kB / 0.5362 GB, free: 9.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4107, allocations: 320.1 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.4107, allocations: 4.062 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.026e-05/0.4108, allocations: 55.58 kB / 0.5366 GB, free: 9.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.4109, allocations: 54.84 kB / 0.5366 GB, free: 9.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4109, allocations: 1.344 kB / 0.5367 GB, free: 9.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001643/0.411, allocations: 77.94 kB / 0.5367 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4111, allocations: 9.375 kB / 0.5367 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4111, allocations: 1.469 kB / 0.5367 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4111, allocations: 1.781 kB / 0.5367 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.4112, allocations: 12.45 kB / 0.5367 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.4112, allocations: 6.469 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.4113, allocations: 6.844 kB / 0.5368 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.4113, allocations: 4 kB / 0.5368 GB, free: 8.973 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 0.0001149/0.4114, allocations: 204.6 kB / 0.537 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.4114, allocations: 105 kB / 0.5371 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.396e-05/0.4115, allocations: 118.9 kB / 0.5372 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.781e-05/0.4116, allocations: 181.7 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.781e-05/0.4116, allocations: 105 kB / 0.5374 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.043e-05/0.4117, allocations: 192.4 kB / 0.5376 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.4118, allocations: 189.4 kB / 0.5378 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.4119, allocations: 105.9 kB / 0.5379 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/0.412, allocations: 177.5 kB / 0.5381 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.965e-05/0.4121, allocations: 261.1 kB / 0.5383 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001867/0.4123, allocations: 388.4 kB / 0.5387 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.445e-05/0.4124, allocations: 110.3 kB / 0.5388 GB, free: 6.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.4125, allocations: 109 kB / 0.5389 GB, free: 6.691 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.4125, allocations: 1.406 kB / 0.5389 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004038/0.4129, allocations: 92.45 kB / 0.539 GB, free: 6.617 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007661/0.4136, allocations: 0.9176 MB / 0.5399 GB, free: 5.691 MB / 398.1 MB Notification: Performance of Templates: time 0.002774/0.4164, allocations: 453.7 kB / 0.5403 GB, free: 5.469 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches