Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 109.5 kB / 17.02 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 194 kB / 17.96 MB, free: 5.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2168/0.2168, allocations: 43.53 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002901/0.002902, allocations: 73.86 kB / 384.2 MB, free: 56.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1468, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003221/0.1501, allocations: 1.543 MB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006421/0.1508, allocations: 319.5 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1509, allocations: 0 / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.1513, allocations: 115.7 kB / 443.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.1516, allocations: 75.72 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.1519, allocations: 75.77 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.1521, allocations: 67.83 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.1523, allocations: 19.92 kB / 444.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.345e-05/0.1523, allocations: 35.89 kB / 444.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1525, allocations: 67.81 kB / 444.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1525, allocations: 4 kB / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.383e-05/0.1526, allocations: 31.98 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.1527, allocations: 19.92 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.1527, allocations: 31.73 kB / 444.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.153, allocations: 99.59 kB / 444.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.153, allocations: 0 / 444.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.153, allocations: 0 / 444.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.153, allocations: 0 / 444.4 MB, free: 3.648 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006708/0.1537, allocations: 406.9 kB / 444.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.1537, allocations: 19.89 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.1538, allocations: 8.844 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.154, allocations: 204 kB / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.154, allocations: 384 / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1541, allocations: 4.375 kB / 445.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1542, allocations: 49.75 kB / 445.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1542, allocations: 0 / 445.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1542, allocations: 7.984 kB / 445.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1543, allocations: 4 kB / 445.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.1543, allocations: 23.98 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.1547, allocations: 284.8 kB / 445.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.1549, allocations: 46.5 kB / 445.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.155, allocations: 16.94 kB / 445.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.155, allocations: 0 / 445.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1551, allocations: 42.5 kB / 445.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.1551, allocations: 0 / 445.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005393/0.1556, allocations: 145.1 kB / 445.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1557, allocations: 55.41 kB / 445.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.1559, allocations: 250.6 kB / 446 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.1559, allocations: 25.7 kB / 446 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.1559, allocations: 108.1 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.156, allocations: 15.8 kB / 446.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.156, allocations: 17.72 kB / 446.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.1561, allocations: 326.8 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.1561, allocations: 15.98 kB / 446.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.768e-05/0.1562, allocations: 19.98 kB / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.873e-05/0.1563, allocations: 48.83 kB / 446.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1563, allocations: 0 / 446.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001571/0.1564, allocations: 89.42 kB / 446.6 MB, free: 1.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1565, allocations: 4 kB / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1565, allocations: 0 / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1565, allocations: 0 / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.1566, allocations: 15.98 kB / 446.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1566, allocations: 0 / 446.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.1566, allocations: 8 kB / 446.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1566, allocations: 288 / 446.7 MB, free: 1.203 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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 7.361e-05/0.1567, allocations: 133.7 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.1568, allocations: 15.91 kB / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.157, allocations: 98.81 kB / 446.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.157, allocations: 0 / 446.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.157, allocations: 4.062 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.157, allocations: 8 kB / 446.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.1574, allocations: 358.5 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1574, allocations: 0 / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.022e-05/0.1575, allocations: 15.94 kB / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1575, allocations: 3.938 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1575, allocations: 0 / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1575, allocations: 3.938 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.1575, allocations: 3.984 kB / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1578, allocations: 183.3 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.1578, allocations: 81.02 kB / 447.6 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1578, allocations: 4 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/0.1579, allocations: 7.922 kB / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.158, allocations: 4 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.158, allocations: 0 / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1581, allocations: 191.2 kB / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1581, allocations: 3.938 kB / 447.8 MB, free: 4 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1584, allocations: 16.05 kB / 447.8 MB, free: 15.98 MB / 334.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 (5): * Single equations (assignments): 5 * 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.001215/0.1596, allocations: 404 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.1599, allocations: 43.97 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1599, allocations: 0 / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/0.16, allocations: 27.98 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1605, allocations: 23.72 kB / 448.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.1612, allocations: 246.2 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.1617, allocations: 0.708 MB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.303e-05/0.1618, allocations: 4 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.1618, allocations: 19.38 kB / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1618, allocations: 0 / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Templates: time 0.005161/0.167, allocations: 1.126 MB / 450.4 MB, free: 13.45 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches