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.0009185/0.0009185, allocations: 93.34 kB / 16.98 MB, free: 5.938 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.00168/0.00168, allocations: 188.1 kB / 17.88 MB, free: 5.594 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.489/1.489, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2009/0.2009, allocations: 44.23 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004327, allocations: 11.94 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1474, allocations: 61.92 MB / 471.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002031/0.1495, allocations: 1.351 MB / 472.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001731/0.1497, allocations: 83.73 kB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.1497, allocations: 4 kB / 472.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.1498, allocations: 11.86 kB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.738e-05/0.1498, allocations: 23.94 kB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.395e-05/0.1499, allocations: 19.98 kB / 472.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1501, allocations: 63.86 kB / 473 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.1503, allocations: 40.3 kB / 473 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.1503, allocations: 35.86 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.1504, allocations: 39.83 kB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1504, allocations: 4 kB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.777e-05/0.1505, allocations: 8 kB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.1505, allocations: 15.94 kB / 473.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.1505, allocations: 45.64 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1507, allocations: 92.02 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1507, allocations: 0 / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1507, allocations: 0 / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1507, allocations: 0 / 473.3 MB, free: 11.88 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.0005003/0.1512, allocations: 379.3 kB / 473.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1512, allocations: 8.562 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.1513, allocations: 11.81 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1514, allocations: 179 kB / 473.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1515, allocations: 4.234 kB / 473.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1515, allocations: 15.95 kB / 473.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.1517, allocations: 129 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1517, allocations: 0 / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1517, allocations: 4 kB / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1517, allocations: 4 kB / 474 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1519, allocations: 63.91 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.1527, allocations: 0.7351 MB / 474.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.95e-05/0.1528, allocations: 169.1 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1529, allocations: 75.28 kB / 475 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.1529, allocations: 105.8 kB / 475.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1529, allocations: 0 / 475.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.489e-05/0.153, allocations: 37.55 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.1531, allocations: 134.7 kB / 475.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1532, allocations: 142 kB / 475.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1532, allocations: 29.64 kB / 475.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.1533, allocations: 123.6 kB / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-06/0.1533, allocations: 3.984 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.1533, allocations: 0 / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1535, allocations: 326.8 kB / 475.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.1535, allocations: 8 kB / 475.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.1535, allocations: 45.14 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.1536, allocations: 12 kB / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1536, allocations: 0 / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001635/0.1538, allocations: 77.47 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.1538, allocations: 10.34 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1538, allocations: 4.062 kB / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1538, allocations: 8 kB / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.1539, allocations: 8 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.1539, allocations: 0 / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.154, allocations: 11.84 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.154, allocations: 8.172 kB / 476.1 MB, free: 8.785 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.0001148/0.1541, allocations: 201.1 kB / 476.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.1542, allocations: 116.8 kB / 476.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.1543, allocations: 108.9 kB / 476.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-05/0.1543, allocations: 180.2 kB / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.228e-05/0.1544, allocations: 180.2 kB / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.358e-05/0.1545, allocations: 180.3 kB / 477 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.1548, allocations: 445.1 kB / 477.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-05/0.1548, allocations: 105 kB / 477.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.1549, allocations: 109 kB / 477.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.851e-05/0.1549, allocations: 176.3 kB / 477.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/0.155, allocations: 184.2 kB / 478 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.491e-05/0.1551, allocations: 184.2 kB / 478.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.118e-05/0.1552, allocations: 180.3 kB / 478.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.1553, allocations: 303.7 kB / 478.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.1554, allocations: 194 kB / 478.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.109e-05/0.1555, allocations: 184.2 kB / 479.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.1556, allocations: 101 kB / 479.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.1557, allocations: 188.1 kB / 479.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.1557, allocations: 105 kB / 479.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.156e-05/0.1558, allocations: 111.2 kB / 479.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1558, allocations: 0 / 479.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1561, allocations: 19.91 kB / 479.6 MB, free: 5.082 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.0001221/0.1562, allocations: 174.5 kB / 479.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.483e-05/0.1563, allocations: 23.92 kB / 479.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1563, allocations: 0 / 479.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.1563, allocations: 0 / 479.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.1566, allocations: 0.5305 MB / 480.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.157, allocations: 276.2 kB / 480.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1573, allocations: 0.7004 MB / 481.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.1574, allocations: 4 kB / 481.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.1574, allocations: 11.44 kB / 481.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1574, allocations: 0 / 481.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of Templates: time 0.00212/0.1595, allocations: 368.6 kB / 481.6 MB, free: 2.941 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","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches