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.001359/0.001359, allocations: 116.1 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 77 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1391, allocations: 62.44 MB / 479.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.005701/0.1449, allocations: 1.796 MB / 481.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003588/0.1453, allocations: 75.67 kB / 481.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1455, allocations: 0 / 481.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1456, allocations: 15.92 kB / 481.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.1458, allocations: 23.83 kB / 481.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.146, allocations: 15.98 kB / 481.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1463, allocations: 103.6 kB / 481.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.1466, allocations: 55.34 kB / 481.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1468, allocations: 43.84 kB / 481.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.147, allocations: 43.84 kB / 481.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.1471, allocations: 12 kB / 481.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.474e-05/0.1471, allocations: 8 kB / 481.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.1472, allocations: 23.92 kB / 481.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1473, allocations: 55.73 kB / 481.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.1475, allocations: 123.8 kB / 481.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1476, allocations: 0 / 481.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1476, allocations: 0 / 481.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1476, allocations: 0 / 481.9 MB, free: 3.246 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.0007629/0.1484, allocations: 399.5 kB / 482.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.1485, allocations: 8.031 kB / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.1485, allocations: 12.75 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.1487, allocations: 176.2 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.1488, allocations: 8.609 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.1488, allocations: 16.38 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.1492, allocations: 131.4 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1492, allocations: 4.188 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.1493, allocations: 3.938 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1493, allocations: 4 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.1495, allocations: 59.97 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.1509, allocations: 0.7313 MB / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1511, allocations: 173.1 kB / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.1512, allocations: 84.08 kB / 483.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.1512, allocations: 75.28 kB / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.048e-05/0.1513, allocations: 105.8 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.943e-06/0.1514, allocations: 0 / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001276/0.1515, allocations: 33.61 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.731e-05/0.1516, allocations: 130.7 kB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1518, allocations: 152.5 kB / 484.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1519, allocations: 29.64 kB / 484.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.152, allocations: 123.5 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-06/0.1521, allocations: 4 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.1521, allocations: 17.72 kB / 484.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1524, allocations: 322.8 kB / 484.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.1524, allocations: 15.94 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.366e-05/0.1525, allocations: 41.14 kB / 484.7 MB, free: 172 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1527, allocations: 53.09 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1527, allocations: 0 / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002654/0.153, allocations: 77.47 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.153, allocations: 8 kB / 484.8 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.153, allocations: 3.938 kB / 484.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.1531, allocations: 4.188 kB / 484.8 MB, free: 0 / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1532, allocations: 15.98 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.1533, allocations: 3.984 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/0.1534, allocations: 8.062 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1534, allocations: 11.94 kB / 484.9 MB, free: 15.96 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.0001681/0.1536, allocations: 189.1 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1537, allocations: 108.9 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.295e-05/0.1538, allocations: 116.8 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.373e-05/0.1539, allocations: 184.2 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001197/0.154, allocations: 180.2 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.922e-05/0.1542, allocations: 180.3 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.1546, allocations: 441.1 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.613e-05/0.1547, allocations: 108.9 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.1547, allocations: 105 kB / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.1548, allocations: 184.2 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.155, allocations: 176.3 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001104/0.1551, allocations: 180.3 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-05/0.1552, allocations: 180.2 kB / 487.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.1555, allocations: 319.6 kB / 487.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.1556, allocations: 186 kB / 487.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.1558, allocations: 184.2 kB / 487.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.156, allocations: 101 kB / 487.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.1561, allocations: 184.2 kB / 488.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.62e-05/0.1562, allocations: 108.9 kB / 488.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1564, allocations: 113.7 kB / 488.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1564, allocations: 0 / 488.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004345/0.1568, allocations: 19.94 kB / 488.3 MB, free: 12.26 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.0001884/0.157, allocations: 167.1 kB / 488.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.1571, allocations: 23.92 kB / 488.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.1572, allocations: 4.375 kB / 488.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.1572, allocations: 3.938 kB / 488.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.1578, allocations: 463.7 kB / 489 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.1584, allocations: 282.1 kB / 489.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1588, allocations: 0.6924 MB / 489.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.914e-05/0.1588, allocations: 7.922 kB / 489.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.1588, allocations: 11.44 kB / 490 MB, free: 10.56 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1589, allocations: 4 kB / 490 MB, free: 10.56 MB / 366.1 MB Notification: Performance of Templates: time 0.003879/0.1627, allocations: 405.2 kB / 490.4 MB, free: 10.16 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