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.001299/0.001299, allocations: 97.22 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001621, allocations: 200.3 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.2 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2389/0.2389, allocations: 45.91 MB / 344 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002658, allocations: 8 kB / 417.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 63.46 MB / 481.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001866/0.1297, allocations: 1.364 MB / 482.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001491/0.1299, allocations: 83.73 kB / 482.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.1299, allocations: 4 kB / 482.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.13, allocations: 15.91 kB / 482.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.207e-05/0.13, allocations: 27.88 kB / 482.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.073e-05/0.1301, allocations: 15.98 kB / 482.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.787e-05/0.1302, allocations: 63.92 kB / 483 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1304, allocations: 48.27 kB / 483 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.1304, allocations: 31.86 kB / 483 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/0.1305, allocations: 35.86 kB / 483.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1305, allocations: 4 kB / 483.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.1305, allocations: 11.94 kB / 483.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.1306, allocations: 15.92 kB / 483.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.445e-05/0.1306, allocations: 45.64 kB / 483.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.593e-05/0.1307, allocations: 88.02 kB / 483.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.1307, allocations: 0 / 483.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.1307, allocations: 11.98 kB / 483.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.1307, allocations: 0 / 483.2 MB, free: 3.562 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.0004353/0.1312, allocations: 375.3 kB / 483.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1312, allocations: 8.031 kB / 483.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1313, allocations: 15.81 kB / 483.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1314, allocations: 174.9 kB / 483.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1314, allocations: 8.234 kB / 483.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1315, allocations: 12 kB / 483.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.1317, allocations: 129 kB / 484 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1317, allocations: 0 / 484 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1317, allocations: 4 kB / 484 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1317, allocations: 4 kB / 484 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1318, allocations: 67.84 kB / 484 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007967/0.1326, allocations: 0.7195 MB / 484.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.1328, allocations: 173.1 kB / 484.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1328, allocations: 75.28 kB / 485 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.1328, allocations: 109.8 kB / 485.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.1328, allocations: 0 / 485.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.77e-05/0.1329, allocations: 37.55 kB / 485.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.133, allocations: 130.6 kB / 485.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1331, allocations: 152.3 kB / 485.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1332, allocations: 25.7 kB / 485.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.1332, allocations: 119.6 kB / 485.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.1333, allocations: 4 kB / 485.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.1333, allocations: 0 / 485.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1334, allocations: 318.8 kB / 485.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.1334, allocations: 4 kB / 485.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.1335, allocations: 45.16 kB / 485.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.119e-05/0.1335, allocations: 15.92 kB / 485.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1335, allocations: 4 kB / 485.9 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001521/0.1337, allocations: 81.59 kB / 486 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1337, allocations: 4 kB / 486 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1337, allocations: 4 kB / 486 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1337, allocations: 0 / 486 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.1338, allocations: 8 kB / 486 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1338, allocations: 7.953 kB / 486 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.1339, allocations: 11.84 kB / 486 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1339, allocations: 3.938 kB / 486.1 MB, free: 500 kB / 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.0001244/0.134, allocations: 197.7 kB / 486.2 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.1341, allocations: 116.9 kB / 486.4 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.1342, allocations: 108.9 kB / 486.5 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/0.1343, allocations: 180.2 kB / 486.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.49e-05/0.1344, allocations: 180.3 kB / 486.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.741e-05/0.1345, allocations: 188.1 kB / 487 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.1348, allocations: 441.2 kB / 487.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.395e-05/0.1349, allocations: 101 kB / 487.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.1349, allocations: 109 kB / 487.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.114e-05/0.135, allocations: 180.3 kB / 487.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.842e-05/0.1351, allocations: 184.1 kB / 488 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-05/0.1352, allocations: 180.4 kB / 488.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-05/0.1353, allocations: 184.3 kB / 488.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.1355, allocations: 311.7 kB / 488.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.1356, allocations: 193.9 kB / 488.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.1357, allocations: 184.3 kB / 489 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.1358, allocations: 105 kB / 489.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.1359, allocations: 180.2 kB / 489.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/0.1359, allocations: 101 kB / 489.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.374e-05/0.136, allocations: 117.4 kB / 489.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.136, allocations: 0 / 489.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.1363, allocations: 15.91 kB / 489.5 MB, free: 12.79 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 (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.0002063/0.1365, allocations: 174.5 kB / 489.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.461e-05/0.1366, allocations: 19.94 kB / 489.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1366, allocations: 0 / 489.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.1367, allocations: 3.938 kB / 489.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.1371, allocations: 0.5263 MB / 490.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.1375, allocations: 276.6 kB / 490.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1378, allocations: 0.7034 MB / 491.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.341e-05/0.1379, allocations: 0 / 491.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1379, allocations: 11.44 kB / 491.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1379, allocations: 0 / 491.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of Templates: time 0.002068/0.14, allocations: 368.5 kB / 491.6 MB, free: 10.66 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","../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches