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.001936/0.001936, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00254/0.00254, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.4 MB / 246.3 MB, free: 9.105 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2435/0.2435, allocations: 46.12 MB / 343.7 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 84.34 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1343, allocations: 62.45 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003006/0.1373, allocations: 1.792 MB / 481.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001383/0.1375, allocations: 67.73 kB / 481.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.1375, allocations: 4 kB / 481.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.613e-05/0.1376, allocations: 15.91 kB / 481.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.649e-05/0.1377, allocations: 19.84 kB / 481.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.85e-05/0.1378, allocations: 19.98 kB / 481.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1379, allocations: 99.53 kB / 481.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1381, allocations: 52.28 kB / 481.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.1381, allocations: 35.86 kB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.1382, allocations: 43.78 kB / 481.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1382, allocations: 8 kB / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.1383, allocations: 8 kB / 481.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.1383, allocations: 23.92 kB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.126e-05/0.1384, allocations: 47.8 kB / 481.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1385, allocations: 115.8 kB / 481.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1385, allocations: 8 kB / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1385, allocations: 0 / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1386, allocations: 0 / 481.7 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.0005472/0.1391, allocations: 391.5 kB / 482.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1392, allocations: 12.03 kB / 482.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.1392, allocations: 12.75 kB / 482.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1394, allocations: 172.3 kB / 482.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1394, allocations: 8.609 kB / 482.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1394, allocations: 12.38 kB / 482.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.1397, allocations: 131.4 kB / 482.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1397, allocations: 192 / 482.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.1397, allocations: 15.92 kB / 482.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-06/0.1397, allocations: 0 / 482.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.1399, allocations: 67.91 kB / 482.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.1407, allocations: 0.7235 MB / 483.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1408, allocations: 169.1 kB / 483.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.1409, allocations: 84.14 kB / 483.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.1409, allocations: 79.28 kB / 483.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.141, allocations: 109.8 kB / 483.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.141, allocations: 3.938 kB / 483.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.224e-05/0.1411, allocations: 37.55 kB / 483.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.1412, allocations: 130.7 kB / 483.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.1413, allocations: 141.8 kB / 484 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1413, allocations: 25.7 kB / 484 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/0.1414, allocations: 127.5 kB / 484.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.1414, allocations: 7.938 kB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.1415, allocations: 17.72 kB / 484.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1416, allocations: 318.8 kB / 484.5 MB, free: 252 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.1417, allocations: 7.984 kB / 484.5 MB, free: 244 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.1417, allocations: 49.16 kB / 484.5 MB, free: 176 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.876e-05/0.1418, allocations: 57.03 kB / 484.6 MB, free: 100 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1418, allocations: 4 kB / 484.6 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001438/0.142, allocations: 73.47 kB / 484.7 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.142, allocations: 7.984 kB / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.142, allocations: 4 kB / 484.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.142, allocations: 0 / 484.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.1421, allocations: 8.234 kB / 484.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1421, allocations: 8 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.1422, allocations: 7.938 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1422, allocations: 7.938 kB / 484.7 MB, free: 15.97 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.0001133/0.1423, allocations: 197.1 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.1424, allocations: 112.8 kB / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.1425, allocations: 104.9 kB / 485.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-05/0.1425, allocations: 188.2 kB / 485.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.106e-05/0.1426, allocations: 180.3 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.26e-05/0.1427, allocations: 184.2 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.143, allocations: 441.1 kB / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/0.143, allocations: 101 kB / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/0.1431, allocations: 104.9 kB / 486.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-05/0.1432, allocations: 184.3 kB / 486.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/0.1433, allocations: 184.2 kB / 486.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.59e-05/0.1433, allocations: 176.3 kB / 486.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-05/0.1434, allocations: 184.2 kB / 487 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.1436, allocations: 315.6 kB / 487.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.501e-05/0.1437, allocations: 189.9 kB / 487.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.1438, allocations: 180.3 kB / 487.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.1439, allocations: 101 kB / 487.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.1439, allocations: 180.2 kB / 488 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.144, allocations: 109 kB / 488.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.52e-05/0.1441, allocations: 117.4 kB / 488.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.844e-06/0.1441, allocations: 0 / 488.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1443, allocations: 27.81 kB / 488.2 MB, free: 12.27 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.0001312/0.1445, allocations: 171.1 kB / 488.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.408e-05/0.1445, allocations: 11.94 kB / 488.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1446, allocations: 4.375 kB / 488.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.1446, allocations: 7.938 kB / 488.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.145, allocations: 0.5263 MB / 488.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.1454, allocations: 280 kB / 489.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1457, allocations: 0.6957 MB / 489.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.641e-05/0.1457, allocations: 4 kB / 489.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.1457, allocations: 11.44 kB / 489.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1458, allocations: 4 kB / 489.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of Templates: time 0.002529/0.1483, allocations: 381.3 kB / 490.3 MB, free: 10.13 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