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.001073/0.001073, allocations: 96.38 kB / 17 MB, free: 6.535 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.001321/0.001321, allocations: 186.2 kB / 17.89 MB, free: 5.945 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.431/1.431, allocations: 223.2 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2227/0.2227, allocations: 44.26 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004783, allocations: 8.781 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1429, allocations: 61.93 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002096/0.145, allocations: 1.386 MB / 473 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002141/0.1453, allocations: 71.72 kB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.1454, allocations: 4 kB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.193e-05/0.1454, allocations: 11.91 kB / 473.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.1455, allocations: 15.86 kB / 473.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.346e-05/0.1456, allocations: 23.92 kB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.1457, allocations: 95.59 kB / 473.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1459, allocations: 44.28 kB / 473.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/0.146, allocations: 31.86 kB / 473.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.1461, allocations: 35.84 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1461, allocations: 12 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.1461, allocations: 4 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.1462, allocations: 19.92 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.1462, allocations: 41.64 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.1463, allocations: 92.02 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1463, allocations: 0 / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1463, allocations: 0 / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1464, allocations: 0 / 473.5 MB, free: 11.82 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.0004894/0.1468, allocations: 387.3 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.1469, allocations: 8.562 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.147, allocations: 15.81 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.1471, allocations: 167 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.1471, allocations: 12.23 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1472, allocations: 11.95 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.1474, allocations: 129 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1475, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.1475, allocations: 4 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1475, allocations: 11.94 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1477, allocations: 67.89 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009726/0.1486, allocations: 0.7195 MB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1488, allocations: 173.1 kB / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.1488, allocations: 80.14 kB / 475.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.1488, allocations: 75.28 kB / 475.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.1489, allocations: 113.8 kB / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.1489, allocations: 0 / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.677e-05/0.149, allocations: 37.55 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.1491, allocations: 126.7 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.1492, allocations: 144.5 kB / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1493, allocations: 25.7 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.1494, allocations: 127.6 kB / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.1494, allocations: 7.984 kB / 475.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.1494, allocations: 4 kB / 475.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1495, allocations: 314.8 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.1496, allocations: 8 kB / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.862e-05/0.1496, allocations: 45.14 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.1497, allocations: 19.94 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1497, allocations: 0 / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001637/0.1498, allocations: 77.41 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1499, allocations: 4 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1499, allocations: 4 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1499, allocations: 4.188 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.15, allocations: 12 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.15, allocations: 3.984 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.1501, allocations: 11.97 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1501, allocations: 8 kB / 476.4 MB, free: 8.637 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.1502, allocations: 201 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.1503, allocations: 108.9 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.1504, allocations: 112.8 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.724e-05/0.1505, allocations: 184.2 kB / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.243e-05/0.1505, allocations: 180.3 kB / 477.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-05/0.1506, allocations: 176.3 kB / 477.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.1509, allocations: 441.1 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-05/0.151, allocations: 105 kB / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.151, allocations: 116.9 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.862e-05/0.1511, allocations: 180.2 kB / 478.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.508e-05/0.1512, allocations: 180.2 kB / 478.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.598e-05/0.1513, allocations: 180.3 kB / 478.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.547e-05/0.1514, allocations: 180.3 kB / 478.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1515, allocations: 315.7 kB / 479 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.1516, allocations: 189.9 kB / 479.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/0.1517, allocations: 176.3 kB / 479.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.1518, allocations: 105 kB / 479.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.152, allocations: 180.2 kB / 479.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.152, allocations: 109 kB / 479.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1521, allocations: 109.1 kB / 479.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1521, allocations: 0 / 479.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1524, allocations: 15.91 kB / 479.8 MB, free: 4.945 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.1525, allocations: 178.5 kB / 480 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1526, allocations: 20.19 kB / 480 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1526, allocations: 4.125 kB / 480 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.1527, allocations: 3.938 kB / 480 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.153, allocations: 0.5224 MB / 480.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.1534, allocations: 276.3 kB / 480.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1537, allocations: 0.6926 MB / 481.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.028e-05/0.1538, allocations: 7.984 kB / 481.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.1538, allocations: 11.44 kB / 481.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1538, allocations: 0 / 481.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of Templates: time 0.002426/0.1562, allocations: 376.5 kB / 481.9 MB, free: 2.801 MB / 350.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