Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=500,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.2 MB / 250.8 MB, free: 8.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2353/0.2353, allocations: 46.89 MB / 351.8 MB, free: 7.348 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 75.88 kB / 496.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3765, allocations: 65.98 MB / 0.5493 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003382/0.3798, allocations: 1.728 MB / 0.5509 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002483/0.3801, allocations: 78.45 kB / 0.551 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.3802, allocations: 7.938 kB / 0.551 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.099e-05/0.3802, allocations: 11.86 kB / 0.551 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.599e-05/0.3803, allocations: 27.77 kB / 0.5511 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.844e-05/0.3804, allocations: 23.97 kB / 0.5511 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.3806, allocations: 107.6 kB / 0.5512 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.3807, allocations: 39.97 kB / 0.5512 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.3808, allocations: 43.84 kB / 0.5513 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.3809, allocations: 43.78 kB / 0.5513 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.3809, allocations: 12 kB / 0.5513 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.3809, allocations: 12 kB / 0.5513 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.3809, allocations: 19.92 kB / 0.5514 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.381, allocations: 51.8 kB / 0.5514 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.3812, allocations: 124.1 kB / 0.5515 GB, free: 3.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3812, allocations: 0 / 0.5515 GB, free: 3.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.3812, allocations: 8 kB / 0.5515 GB, free: 3.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3812, allocations: 0 / 0.5515 GB, free: 3.215 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.0005254/0.3817, allocations: 399.2 kB / 0.5519 GB, free: 2.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3818, allocations: 12.03 kB / 0.5519 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.3818, allocations: 12.84 kB / 0.5519 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3819, allocations: 172.3 kB / 0.5521 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.382, allocations: 8.609 kB / 0.5521 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.382, allocations: 12.38 kB / 0.5521 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.3822, allocations: 133.5 kB / 0.5522 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3822, allocations: 4.188 kB / 0.5523 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3822, allocations: 7.938 kB / 0.5523 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3822, allocations: 4 kB / 0.5523 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.3824, allocations: 63.97 kB / 0.5523 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000873/0.3832, allocations: 0.7275 MB / 0.553 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.3833, allocations: 173.1 kB / 0.5532 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.3834, allocations: 84.08 kB / 0.5533 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.3834, allocations: 79.27 kB / 0.5534 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.3835, allocations: 109.8 kB / 0.5535 GB, free: 1.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3835, allocations: 0 / 0.5535 GB, free: 1.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.449e-05/0.3835, allocations: 33.7 kB / 0.5535 GB, free: 1.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.3836, allocations: 126.7 kB / 0.5536 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.3838, allocations: 155.7 kB / 0.5538 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3838, allocations: 25.7 kB / 0.5538 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.3839, allocations: 123.9 kB / 0.5539 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.3839, allocations: 7.938 kB / 0.5539 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.3839, allocations: 21.67 kB / 0.5539 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.384, allocations: 322.8 kB / 0.5542 GB, free: 196 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.384, allocations: 8 kB / 0.5542 GB, free: 188 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.3841, allocations: 41.09 kB / 0.5543 GB, free: 128 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.376e-05/0.3842, allocations: 61.08 kB / 0.5543 GB, free: 48 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3842, allocations: 0 / 0.5543 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001592/0.3843, allocations: 73.59 kB / 0.5544 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3843, allocations: 8 kB / 0.5544 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3843, allocations: 0 / 0.5544 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3843, allocations: 4 kB / 0.5544 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.3844, allocations: 11.94 kB / 0.5544 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.3844, allocations: 0 / 0.5544 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.3845, allocations: 11.89 kB / 0.5544 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3845, allocations: 7.938 kB / 0.5545 GB, free: 15.93 MB / 414.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.0001236/0.3846, allocations: 197.2 kB / 0.5546 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3847, allocations: 120.9 kB / 0.5548 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.327e-05/0.3848, allocations: 112.6 kB / 0.5549 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-05/0.3848, allocations: 176.3 kB / 0.555 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.523e-05/0.3849, allocations: 180.2 kB / 0.5552 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.177e-05/0.385, allocations: 188.3 kB / 0.5554 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.3853, allocations: 449.1 kB / 0.5558 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.331e-05/0.3854, allocations: 101 kB / 0.5559 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.3854, allocations: 101 kB / 0.556 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.87e-05/0.3855, allocations: 180.4 kB / 0.5562 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.513e-05/0.3856, allocations: 180.3 kB / 0.5564 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.14e-05/0.3857, allocations: 188.2 kB / 0.5565 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.465e-05/0.3857, allocations: 188.3 kB / 0.5567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.3859, allocations: 311.7 kB / 0.557 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.386, allocations: 194 kB / 0.5572 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/0.3861, allocations: 180.2 kB / 0.5574 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.702e-05/0.3862, allocations: 109 kB / 0.5575 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.3863, allocations: 176.3 kB / 0.5576 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/0.3863, allocations: 104.9 kB / 0.5577 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.4e-05/0.3864, allocations: 121.5 kB / 0.5579 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3864, allocations: 0 / 0.5579 GB, free: 12.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.3867, allocations: 15.94 kB / 0.5579 GB, free: 12.21 MB / 414.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.0001066/0.3868, allocations: 170.5 kB / 0.558 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.3868, allocations: 23.92 kB / 0.5581 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3868, allocations: 0 / 0.5581 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.3868, allocations: 0 / 0.5581 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.3872, allocations: 459.7 kB / 0.5585 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.3876, allocations: 246.4 kB / 0.5587 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3879, allocations: 0.6963 MB / 0.5594 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.3879, allocations: 4 kB / 0.5594 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.3879, allocations: 11.38 kB / 0.5594 GB, free: 10.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3879, allocations: 0 / 0.5594 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Templates: time 0.002393/0.3903, allocations: 428.7 kB / 0.5598 GB, free: 10.13 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches