Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009103/0.0009103, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008024/0.0008023, allocations: 83.09 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2855/0.2855, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 16 kB / 432 MB, free: 5.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.0928, allocations: 58.85 MB / 490.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001784/0.09462, allocations: 1.354 MB / 492.2 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.09572, allocations: 0.7356 MB / 492.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.09581, allocations: 0 / 492.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.09608, allocations: 55.86 kB / 493 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.09627, allocations: 51.81 kB / 493 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.0965, allocations: 71.84 kB / 493.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.09665, allocations: 87.62 kB / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.0967, allocations: 7.984 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.09679, allocations: 47.83 kB / 493.2 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.09688, allocations: 39.78 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.0969, allocations: 4 kB / 493.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.09698, allocations: 23.98 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.09703, allocations: 15.92 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.0971, allocations: 53.5 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.09723, allocations: 80.05 kB / 493.4 MB, free: 8.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09724, allocations: 0 / 493.4 MB, free: 8.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09725, allocations: 0 / 493.4 MB, free: 8.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.09725, allocations: 0 / 493.4 MB, free: 8.219 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004438/0.09771, allocations: 391.1 kB / 493.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.09774, allocations: 8.031 kB / 493.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.09779, allocations: 16.83 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.09799, allocations: 200.1 kB / 494 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.09801, allocations: 384 / 494 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.09803, allocations: 8.125 kB / 494.1 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.09816, allocations: 49.61 kB / 494.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.09817, allocations: 0 / 494.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.09819, allocations: 4 kB / 494.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.0982, allocations: 0 / 494.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.09827, allocations: 19.98 kB / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.09844, allocations: 181.6 kB / 494.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.09859, allocations: 54.61 kB / 494.4 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.09865, allocations: 20.8 kB / 494.4 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.09869, allocations: 15.88 kB / 494.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.09884, allocations: 59.39 kB / 494.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.09885, allocations: 0 / 494.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002551/0.09911, allocations: 93.56 kB / 494.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.09917, allocations: 55.41 kB / 494.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.09932, allocations: 178.2 kB / 494.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.09935, allocations: 29.7 kB / 494.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.0994, allocations: 104.1 kB / 494.9 MB, free: 6.555 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.09944, allocations: 19.8 kB / 494.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.09945, allocations: 0 / 494.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.09955, allocations: 322.8 kB / 495.2 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.966e-05/0.0996, allocations: 11.98 kB / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.108e-05/0.09966, allocations: 33.7 kB / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.365e-05/0.09975, allocations: 41.72 kB / 495.3 MB, free: 6.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.09976, allocations: 0 / 495.3 MB, free: 6.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001398/0.09991, allocations: 89.45 kB / 495.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.09993, allocations: 11.22 kB / 495.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.09994, allocations: 0 / 495.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.09995, allocations: 0 / 495.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.1, allocations: 8 kB / 495.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1, allocations: 4 kB / 495.4 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.1001, allocations: 7.938 kB / 495.4 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1001, allocations: 4 kB / 495.4 MB, free: 5.988 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.266e-05/0.1002, allocations: 137.5 kB / 495.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.1002, allocations: 7.906 kB / 495.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.1003, allocations: 16.28 kB / 495.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1003, allocations: 4 kB / 495.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1003, allocations: 0 / 495.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1003, allocations: 0 / 495.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1004, allocations: 181.6 kB / 495.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1004, allocations: 4.312 kB / 495.8 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.1004, allocations: 4 kB / 495.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1005, allocations: 4 kB / 495.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1005, allocations: 7.984 kB / 495.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1005, allocations: 0 / 495.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1005, allocations: 0 / 495.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.1007, allocations: 112.8 kB / 495.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.1007, allocations: 100.8 kB / 496 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.1007, allocations: 0 / 496 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.1008, allocations: 8 kB / 496 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.1008, allocations: 3.984 kB / 496 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1008, allocations: 4 kB / 496 MB, free: 5.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1009, allocations: 144 kB / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.101, allocations: 0 / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000196/0.1012, allocations: 20 kB / 496.2 MB, free: 5.156 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007693/0.1019, allocations: 410.4 kB / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.1021, allocations: 43.98 kB / 496.6 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1021, allocations: 3.938 kB / 496.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.77e-05/0.1021, allocations: 19.98 kB / 496.7 MB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.1024, allocations: 23.92 kB / 496.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.1028, allocations: 234.9 kB / 496.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.103, allocations: 0.7043 MB / 497.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.103, allocations: 11.44 kB / 497.6 MB, free: 3.691 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.103, allocations: 0 / 497.6 MB, free: 3.691 MB / 378.7 MB Notification: Performance of Templates: time 0.002892/0.1059, allocations: 1.66 MB / 499.3 MB, free: 2.035 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches