Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 194.8 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.5 MB / 244.1 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006933/0.0006937, allocations: 103.6 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2891/0.2891, allocations: 44.83 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 12 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2934, allocations: 62.95 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.4115, allocations: 90.42 MB / 0.6048 GB, free: 14.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.4118, allocations: 79.95 kB / 0.6049 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01725/0.4291, allocations: 6.284 MB / 0.611 GB, free: 8.586 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4291, allocations: 0 / 0.611 GB, free: 8.586 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.4291, allocations: 4 kB / 0.611 GB, free: 8.582 MB / 426.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.0005554/0.4297, allocations: 431 kB / 0.6114 GB, free: 8.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4297, allocations: 12.03 kB / 0.6114 GB, free: 8.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.4298, allocations: 12.84 kB / 0.6114 GB, free: 8.086 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.4301, allocations: 228.6 kB / 0.6116 GB, free: 7.824 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.4301, allocations: 384 / 0.6116 GB, free: 7.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.4302, allocations: 4.375 kB / 0.6116 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.4303, allocations: 46.23 kB / 0.6117 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4303, allocations: 192 / 0.6117 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.4303, allocations: 7.938 kB / 0.6117 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4304, allocations: 4 kB / 0.6117 GB, free: 7.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.903e-05/0.4304, allocations: 19.92 kB / 0.6117 GB, free: 7.738 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.4307, allocations: 185.7 kB / 0.6119 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.4308, allocations: 54.61 kB / 0.612 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.4309, allocations: 20.84 kB / 0.612 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.4309, allocations: 0 / 0.612 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.4311, allocations: 71.33 kB / 0.612 GB, free: 7.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.385e-06/0.4311, allocations: 7.984 kB / 0.612 GB, free: 7.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000304/0.4314, allocations: 101.4 kB / 0.6121 GB, free: 7.227 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.4314, allocations: 55.41 kB / 0.6122 GB, free: 7.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.4317, allocations: 196.1 kB / 0.6124 GB, free: 6.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.4317, allocations: 33.7 kB / 0.6124 GB, free: 6.922 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.4318, allocations: 104.1 kB / 0.6125 GB, free: 6.816 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.4318, allocations: 15.84 kB / 0.6125 GB, free: 6.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.4318, allocations: 4 kB / 0.6125 GB, free: 6.797 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4319, allocations: 322.8 kB / 0.6128 GB, free: 6.473 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.432, allocations: 12 kB / 0.6129 GB, free: 6.461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/0.4321, allocations: 29.7 kB / 0.6129 GB, free: 6.426 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.877e-05/0.4322, allocations: 49.64 kB / 0.6129 GB, free: 6.371 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4322, allocations: 0 / 0.6129 GB, free: 6.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001618/0.4323, allocations: 89.42 kB / 0.613 GB, free: 6.277 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4324, allocations: 14.59 kB / 0.613 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4324, allocations: 0 / 0.613 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4324, allocations: 0 / 0.613 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.4325, allocations: 8 kB / 0.613 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.4325, allocations: 4 kB / 0.613 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.4325, allocations: 7.922 kB / 0.613 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.4326, allocations: 4 kB / 0.6131 GB, free: 6.242 MB / 426.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 0.0001087/0.4327, allocations: 127.7 kB / 0.6132 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.4327, allocations: 15.75 kB / 0.6132 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.4329, allocations: 98.59 kB / 0.6133 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4329, allocations: 0 / 0.6133 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4329, allocations: 0 / 0.6133 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4329, allocations: 4 kB / 0.6133 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.4331, allocations: 193.6 kB / 0.6135 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4331, allocations: 0 / 0.6135 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.4332, allocations: 7.984 kB / 0.6135 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4332, allocations: 3.938 kB / 0.6135 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4332, allocations: 8 kB / 0.6135 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4332, allocations: 384 / 0.6135 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4332, allocations: 0 / 0.6135 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.4334, allocations: 117 kB / 0.6136 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.4335, allocations: 96.91 kB / 0.6137 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.4335, allocations: 7.938 kB / 0.6137 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.4335, allocations: 0 / 0.6137 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.4336, allocations: 8 kB / 0.6137 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.4336, allocations: 3.984 kB / 0.6137 GB, free: 5.469 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.4337, allocations: 147.2 kB / 0.6139 GB, free: 5.324 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4337, allocations: 0 / 0.6139 GB, free: 5.324 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.434, allocations: 23.94 kB / 0.6139 GB, free: 5.301 MB / 426.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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0009497/0.4349, allocations: 405.4 kB / 0.6143 GB, free: 5.047 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.4351, allocations: 51.92 kB / 0.6143 GB, free: 4.996 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4351, allocations: 4.062 kB / 0.6143 GB, free: 4.992 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/0.4352, allocations: 23.98 kB / 0.6143 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.4355, allocations: 23.97 kB / 0.6144 GB, free: 4.945 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.436, allocations: 251.2 kB / 0.6146 GB, free: 4.664 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4363, allocations: 0.7004 MB / 0.6153 GB, free: 3.938 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.4363, allocations: 15.42 kB / 0.6153 GB, free: 3.922 MB / 426.7 MB Notification: Performance of SimCode: time 1.824e-06/0.4363, allocations: 0 / 0.6153 GB, free: 3.922 MB / 426.7 MB Notification: Performance of Templates: time 0.003353/0.4397, allocations: 1.758 MB / 0.617 GB, free: 2.172 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches