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.001052/0.001052, allocations: 97.98 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 204.1 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002791, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 63.56 MB / 483.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001881/0.1496, allocations: 1.45 MB / 484.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001333/0.1498, allocations: 71.72 kB / 484.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.1498, allocations: 0 / 484.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.1499, allocations: 23.84 kB / 484.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.671e-05/0.1499, allocations: 15.86 kB / 484.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.131e-05/0.15, allocations: 19.98 kB / 484.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1502, allocations: 99.58 kB / 484.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1503, allocations: 48.28 kB / 484.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.1504, allocations: 31.88 kB / 484.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.1504, allocations: 39.84 kB / 484.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1505, allocations: 4 kB / 484.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.1505, allocations: 8 kB / 484.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.1505, allocations: 19.91 kB / 484.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.1506, allocations: 73.44 kB / 485 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.1507, allocations: 111.8 kB / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1507, allocations: 0 / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1508, allocations: 0 / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1508, allocations: 0 / 485.1 MB, free: 2.16 MB / 350.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.0004731/0.1512, allocations: 389.7 kB / 485.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1513, allocations: 12.03 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.1514, allocations: 12.75 kB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1515, allocations: 172.3 kB / 485.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1515, allocations: 8.609 kB / 485.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1516, allocations: 12.38 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.1518, allocations: 127.4 kB / 485.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1518, allocations: 4.188 kB / 485.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1518, allocations: 7.938 kB / 485.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1519, allocations: 0 / 485.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.152, allocations: 75.41 kB / 485.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008401/0.1529, allocations: 0.7235 MB / 486.6 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.558e-05/0.153, allocations: 165.1 kB / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.153, allocations: 88.14 kB / 486.8 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.153, allocations: 75.28 kB / 486.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.1531, allocations: 105.8 kB / 487 MB, free: 24 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1531, allocations: 0 / 487 MB, free: 24 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.684e-05/0.1532, allocations: 37.55 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.1533, allocations: 134.7 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1534, allocations: 141.8 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.1534, allocations: 29.7 kB / 487.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.1535, allocations: 127.5 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.1535, allocations: 0 / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.1536, allocations: 13.7 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1537, allocations: 322.8 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.1537, allocations: 4 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.1538, allocations: 45.14 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.157e-05/0.1538, allocations: 57.03 kB / 487.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1539, allocations: 0 / 487.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001594/0.154, allocations: 73.56 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.154, allocations: 8 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1541, allocations: 0 / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1541, allocations: 7.938 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/0.1542, allocations: 11.98 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1542, allocations: 0 / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.1542, allocations: 15.97 kB / 488 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1542, allocations: 8.125 kB / 488 MB, free: 14.91 MB / 366.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.0001168/0.1544, allocations: 201.1 kB / 488.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.1544, allocations: 108.9 kB / 488.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.1545, allocations: 112.8 kB / 488.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.694e-05/0.1546, allocations: 180.2 kB / 488.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.367e-05/0.1546, allocations: 180.3 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.792e-05/0.1547, allocations: 188.1 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.1551, allocations: 441.2 kB / 489.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-05/0.1552, allocations: 105 kB / 489.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.1552, allocations: 108.9 kB / 489.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.499e-05/0.1553, allocations: 176.3 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.1554, allocations: 188.2 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.163e-05/0.1555, allocations: 180.3 kB / 490.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001346/0.1556, allocations: 180.2 kB / 490.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.1557, allocations: 311.7 kB / 490.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.1558, allocations: 186 kB / 490.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.156, allocations: 180.3 kB / 491 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1561, allocations: 108.9 kB / 491.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.1562, allocations: 180.3 kB / 491.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.1562, allocations: 105 kB / 491.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.247e-05/0.1563, allocations: 109.4 kB / 491.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1563, allocations: 0 / 491.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1566, allocations: 23.84 kB / 491.5 MB, free: 11.21 MB / 366.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.000123/0.1567, allocations: 187 kB / 491.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.526e-05/0.1568, allocations: 15.94 kB / 491.7 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1568, allocations: 0 / 491.7 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1568, allocations: 0 / 491.7 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1572, allocations: 0.5228 MB / 492.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.1576, allocations: 292.3 kB / 492.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1579, allocations: 0.6926 MB / 493.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.986e-05/0.1579, allocations: 7.984 kB / 493.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.1579, allocations: 11.44 kB / 493.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1579, allocations: 0 / 493.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of Templates: time 0.002546/0.1605, allocations: 381.2 kB / 493.6 MB, free: 9.059 MB / 366.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/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_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches