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.001141/0.001141, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001015/0.001015, allocations: 194 kB / 18.12 MB, free: 5.383 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.475/1.475, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2035/0.2035, allocations: 44.18 MB / 336.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 64.06 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1448, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003524/0.1484, allocations: 1.787 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.1486, allocations: 67.73 kB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.1486, allocations: 0 / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.721e-05/0.1487, allocations: 23.86 kB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.1488, allocations: 19.84 kB / 470.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.749e-05/0.1489, allocations: 15.98 kB / 470.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.149, allocations: 99.58 kB / 470.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1492, allocations: 44.31 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.1492, allocations: 31.92 kB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/0.1493, allocations: 47.78 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1493, allocations: 8 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.021e-05/0.1494, allocations: 8 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.1494, allocations: 19.92 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.1495, allocations: 55.72 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.1496, allocations: 107.9 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1496, allocations: 4 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1496, allocations: 0 / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1496, allocations: 0 / 470.8 MB, free: 12.5 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.0005311/0.1502, allocations: 407.4 kB / 471.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1502, allocations: 8.031 kB / 471.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.1503, allocations: 12.84 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1504, allocations: 172.2 kB / 471.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1504, allocations: 12.61 kB / 471.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1504, allocations: 8.375 kB / 471.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.1507, allocations: 125.6 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1507, allocations: 192 / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1507, allocations: 7.938 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1507, allocations: 4 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1508, allocations: 63.91 kB / 471.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007687/0.1516, allocations: 0.7313 MB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.21e-05/0.1517, allocations: 173.1 kB / 472.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.1517, allocations: 88.06 kB / 472.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.1518, allocations: 75.28 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.1518, allocations: 109.8 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.294e-06/0.1518, allocations: 3.984 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001024/0.1519, allocations: 33.55 kB / 472.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.152, allocations: 134.7 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1522, allocations: 143.9 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.1522, allocations: 25.7 kB / 473.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.1523, allocations: 127.5 kB / 473.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.1523, allocations: 0 / 473.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1523, allocations: 21.72 kB / 473.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1525, allocations: 322.8 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.1525, allocations: 8 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.1525, allocations: 45.16 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.1526, allocations: 53.03 kB / 473.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1526, allocations: 3.984 kB / 473.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001444/0.1528, allocations: 77.47 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1528, allocations: 4 kB / 473.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1528, allocations: 4 kB / 473.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1528, allocations: 0 / 473.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.1529, allocations: 8.188 kB / 473.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1529, allocations: 8 kB / 473.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.1529, allocations: 15.84 kB / 473.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.153, allocations: 7.875 kB / 473.8 MB, free: 9.215 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.1531, allocations: 197.6 kB / 474 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.1531, allocations: 105 kB / 474.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.1532, allocations: 112.9 kB / 474.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.969e-05/0.1533, allocations: 184.2 kB / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.944e-05/0.1533, allocations: 180.3 kB / 474.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.009e-05/0.1534, allocations: 188.2 kB / 474.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.1537, allocations: 437.1 kB / 475.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/0.1537, allocations: 101 kB / 475.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.1537, allocations: 109 kB / 475.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.158e-05/0.1538, allocations: 184.3 kB / 475.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.1539, allocations: 184.2 kB / 475.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.26e-05/0.154, allocations: 180.2 kB / 475.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.179e-05/0.154, allocations: 180.2 kB / 476.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.1542, allocations: 315.7 kB / 476.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.1543, allocations: 189.9 kB / 476.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.1543, allocations: 180.3 kB / 476.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.1544, allocations: 105 kB / 476.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.1545, allocations: 180.2 kB / 477.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.1545, allocations: 104.9 kB / 477.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.689e-05/0.1546, allocations: 125.2 kB / 477.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1546, allocations: 0 / 477.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1549, allocations: 15.94 kB / 477.3 MB, free: 5.512 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 (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.0001101/0.155, allocations: 170.5 kB / 477.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.716e-05/0.1551, allocations: 15.94 kB / 477.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1551, allocations: 8.312 kB / 477.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/0.1551, allocations: 7.984 kB / 477.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1555, allocations: 0.5211 MB / 478 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.156, allocations: 288 kB / 478.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1563, allocations: 0.6926 MB / 479 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.765e-05/0.1563, allocations: 4 kB / 479 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.1564, allocations: 11.44 kB / 479 MB, free: 3.734 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1564, allocations: 4 kB / 479 MB, free: 3.73 MB / 350.1 MB Notification: Performance of Templates: time 0.002455/0.1588, allocations: 385.2 kB / 479.4 MB, free: 3.355 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