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.001313/0.001313, allocations: 116.5 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 227.4 MB / 247.1 MB, free: 9.109 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 46.09 MB / 344.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 77.53 kB / 417.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 62.43 MB / 480.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003495/0.1232, allocations: 1.803 MB / 481.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.1235, allocations: 71.73 kB / 482 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.1236, allocations: 0 / 482 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.276e-05/0.1237, allocations: 19.84 kB / 482 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.873e-05/0.1238, allocations: 19.84 kB / 482 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.38e-05/0.1239, allocations: 15.98 kB / 482.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.124, allocations: 103.6 kB / 482.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1242, allocations: 59.33 kB / 482.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.1243, allocations: 39.86 kB / 482.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.1243, allocations: 47.83 kB / 482.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.1244, allocations: 16 kB / 482.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.948e-05/0.1244, allocations: 8 kB / 482.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.1244, allocations: 23.92 kB / 482.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.1245, allocations: 55.73 kB / 482.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.1246, allocations: 88.06 kB / 482.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1247, allocations: 0 / 482.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1247, allocations: 0 / 482.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1247, allocations: 0 / 482.5 MB, free: 3.234 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.0005951/0.1253, allocations: 395.5 kB / 482.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.1253, allocations: 12.03 kB / 482.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.1254, allocations: 16.75 kB / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1256, allocations: 176.2 kB / 483.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1256, allocations: 12.61 kB / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1256, allocations: 8.375 kB / 483.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.1259, allocations: 131.4 kB / 483.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1259, allocations: 192 / 483.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.1259, allocations: 7.938 kB / 483.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.126, allocations: 8 kB / 483.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1261, allocations: 63.92 kB / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/0.127, allocations: 0.7274 MB / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.533e-05/0.1271, allocations: 165.1 kB / 484.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.1271, allocations: 80.14 kB / 484.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.1272, allocations: 75.28 kB / 484.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.1272, allocations: 113.8 kB / 484.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 5.04e-06/0.1272, allocations: 4 kB / 484.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.534e-05/0.1273, allocations: 41.42 kB / 484.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.1274, allocations: 130.7 kB / 484.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1275, allocations: 144.2 kB / 484.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.1275, allocations: 25.7 kB / 484.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.1276, allocations: 131.5 kB / 484.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-06/0.1276, allocations: 4 kB / 484.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.1276, allocations: 21.72 kB / 484.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.1277, allocations: 322.8 kB / 485.3 MB, free: 224 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.1278, allocations: 4 kB / 485.3 MB, free: 220 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.331e-05/0.1278, allocations: 41.16 kB / 485.3 MB, free: 160 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.1279, allocations: 61.02 kB / 485.4 MB, free: 80 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1279, allocations: 0 / 485.4 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001708/0.1281, allocations: 81.61 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1281, allocations: 4 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1281, allocations: 0 / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1281, allocations: 4 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.1282, allocations: 8 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1282, allocations: 4 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.1283, allocations: 7.938 kB / 485.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1283, allocations: 3.938 kB / 485.5 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.0001063/0.1284, allocations: 201.1 kB / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.1284, allocations: 112.9 kB / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.313e-05/0.1285, allocations: 112.8 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.607e-05/0.1286, allocations: 180.2 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.173e-05/0.1286, allocations: 184.3 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.37e-05/0.1287, allocations: 188.2 kB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.1289, allocations: 441.1 kB / 486.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-05/0.129, allocations: 104.9 kB / 487 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.129, allocations: 101 kB / 487.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.426e-05/0.1291, allocations: 176.3 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.1292, allocations: 188.2 kB / 487.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.343e-05/0.1292, allocations: 180.3 kB / 487.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.981e-05/0.1293, allocations: 184.2 kB / 487.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.1294, allocations: 307.7 kB / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.1295, allocations: 194 kB / 488.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.1296, allocations: 184.3 kB / 488.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.1297, allocations: 112.9 kB / 488.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.1297, allocations: 176.3 kB / 488.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.1298, allocations: 105 kB / 488.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.482e-05/0.1298, allocations: 117.1 kB / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1298, allocations: 0 / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1301, allocations: 15.94 kB / 489 MB, free: 12.25 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.0001143/0.1302, allocations: 178.9 kB / 489.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.487e-05/0.1303, allocations: 23.92 kB / 489.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1303, allocations: 0 / 489.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.1303, allocations: 0 / 489.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1307, allocations: 463.7 kB / 489.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.1311, allocations: 308.3 kB / 489.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1313, allocations: 0.6885 MB / 490.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.1314, allocations: 15.44 kB / 490.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1314, allocations: 0 / 490.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Templates: time 0.00206/0.1334, allocations: 0.8446 MB / 491.5 MB, free: 9.676 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches