Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001581, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3163/0.3163, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004595, allocations: 16 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 58.87 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006597/0.1204, allocations: 216.7 kB / 490.4 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006044/0.1265, allocations: 3.106 MB / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.1266, allocations: 0 / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.1266, allocations: 0 / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.763e-06/0.1266, allocations: 0 / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.1277, allocations: 175.5 kB / 493.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.027e-05/0.1278, allocations: 0 / 493.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1278, allocations: 4 kB / 493.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.1279, allocations: 0 / 493.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.184e-05/0.1279, allocations: 7.984 kB / 493.7 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.1279, allocations: 0 / 493.7 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008702/0.1288, allocations: 347.4 kB / 494.1 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-06/0.1288, allocations: 3.938 kB / 494.1 MB, free: 5.469 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.1289, allocations: 25.7 kB / 494.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.1294, allocations: 207.6 kB / 494.3 MB, free: 5.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1294, allocations: 4 kB / 494.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1294, allocations: 0 / 494.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1294, allocations: 4 kB / 494.3 MB, free: 5.227 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000441/0.1299, allocations: 381.1 kB / 494.7 MB, free: 4.801 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1299, allocations: 11.97 kB / 494.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.13, allocations: 3.953 kB / 494.7 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1301, allocations: 159.1 kB / 494.8 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1301, allocations: 0 / 494.8 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1302, allocations: 4 kB / 494.8 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.322e-05/0.1303, allocations: 33.69 kB / 494.9 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1303, allocations: 4 kB / 494.9 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1303, allocations: 0 / 494.9 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1303, allocations: 0 / 494.9 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.793e-05/0.1304, allocations: 7.938 kB / 494.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.1305, allocations: 149.6 kB / 495 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.346e-05/0.1306, allocations: 18.61 kB / 495.1 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.539e-06/0.1306, allocations: 0 / 495.1 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.988e-05/0.1307, allocations: 64.25 kB / 495.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.1307, allocations: 0 / 495.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002005/0.1309, allocations: 71.39 kB / 495.2 MB, free: 4.152 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.131, allocations: 77.11 kB / 495.3 MB, free: 4.059 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.131, allocations: 89.86 kB / 495.4 MB, free: 3.961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1311, allocations: 25.7 kB / 495.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.1311, allocations: 150.6 kB / 495.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.1312, allocations: 7.984 kB / 495.5 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.1312, allocations: 0 / 495.5 MB, free: 3.773 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1314, allocations: 322.9 kB / 495.8 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.1314, allocations: 0 / 495.8 MB, free: 3.449 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.1314, allocations: 0 / 495.8 MB, free: 3.449 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.1314, allocations: 29.7 kB / 495.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.1314, allocations: 0 / 495.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.733e-05/0.1316, allocations: 59.41 kB / 495.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.1316, allocations: 33.69 kB / 496 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1316, allocations: 3.938 kB / 496 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1316, allocations: 96 / 496 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.1317, allocations: 4 kB / 496 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1317, allocations: 0 / 496 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.1317, allocations: 4 kB / 496 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1317, allocations: 0 / 496 MB, free: 3.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001129/0.1318, allocations: 143.5 kB / 496.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.1319, allocations: 4 kB / 496.1 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.1319, allocations: 3.125 kB / 496.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1319, allocations: 0 / 496.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1319, allocations: 3.984 kB / 496.1 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1319, allocations: 4 kB / 496.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1321, allocations: 145.6 kB / 496.3 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1321, allocations: 7.938 kB / 496.3 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.1321, allocations: 0 / 496.3 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1321, allocations: 0 / 496.3 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1321, allocations: 0 / 496.3 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1321, allocations: 3.938 kB / 496.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1321, allocations: 4 kB / 496.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.1323, allocations: 102.7 kB / 496.4 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.1323, allocations: 77.11 kB / 496.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1324, allocations: 0 / 496.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.73e-05/0.1324, allocations: 7.984 kB / 496.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1324, allocations: 3.984 kB / 496.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1324, allocations: 0 / 496.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.1325, allocations: 75.28 kB / 496.6 MB, free: 2.605 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1325, allocations: 0 / 496.6 MB, free: 2.605 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.1329, allocations: 67.98 kB / 496.6 MB, free: 2.539 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005981/0.1336, allocations: 173.8 kB / 496.8 MB, free: 2.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.1337, allocations: 63.39 kB / 496.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1337, allocations: 0 / 496.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.1338, allocations: 55.41 kB / 496.9 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.1339, allocations: 8.125 kB / 496.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.1341, allocations: 112.5 kB / 497 MB, free: 2.078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1344, allocations: 0.6731 MB / 497.7 MB, free: 1.379 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.1344, allocations: 7.438 kB / 497.7 MB, free: 1.371 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1344, allocations: 0 / 497.7 MB, free: 1.371 MB / 330.7 MB Notification: Performance of Templates: time 0.005508/0.14, allocations: 1.717 MB / 499.4 MB, free: 15.65 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestPolynomials/TestPolynomials.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestPolynomials.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches