Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 108.8 kB / 17.77 MB, free: 5.266 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.001091/0.001091, allocations: 184.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2046/0.2046, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3511, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002486/0.3536, allocations: 1.578 MB / 0.5205 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3549, allocations: 1.028 MB / 0.5215 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.355, allocations: 5.094 kB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.3552, allocations: 20.48 kB / 0.5215 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.3554, allocations: 41.75 kB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.3557, allocations: 110 kB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3559, allocations: 56.41 kB / 0.5217 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.356, allocations: 12.8 kB / 0.5217 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.356, allocations: 26.27 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.3562, allocations: 29.61 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3562, allocations: 3.781 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3563, allocations: 49.64 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.3564, allocations: 13.45 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.3564, allocations: 24.8 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3566, allocations: 83.12 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3566, allocations: 5.75 kB / 0.5219 GB, free: 1.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3566, allocations: 0 / 0.5219 GB, free: 1.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.3566, allocations: 0 / 0.5219 GB, free: 1.578 MB / 382.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.0004038/0.357, allocations: 377.6 kB / 0.5223 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3571, allocations: 10.16 kB / 0.5223 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.3571, allocations: 16.02 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.3573, allocations: 190.8 kB / 0.5225 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.3573, allocations: 2.125 kB / 0.5225 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.3573, allocations: 1.875 kB / 0.5225 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3575, allocations: 70.55 kB / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3575, allocations: 3.953 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3575, allocations: 0.8125 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3575, allocations: 5 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.3576, allocations: 23.28 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.3579, allocations: 279.6 kB / 0.5229 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3581, allocations: 42.83 kB / 0.5229 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.3582, allocations: 21.2 kB / 0.5229 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3582, allocations: 2.234 kB / 0.5229 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/0.3582, allocations: 31.72 kB / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3582, allocations: 0 / 0.5229 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005149/0.3587, allocations: 146.4 kB / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.3588, allocations: 78.91 kB / 0.5232 GB, free: 376 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3589, allocations: 135.4 kB / 0.5233 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.3589, allocations: 25.7 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.3589, allocations: 89.41 kB / 0.5234 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.359, allocations: 20.16 kB / 0.5234 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.359, allocations: 22.7 kB / 0.5234 GB, free: 100 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3591, allocations: 323.3 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.3592, allocations: 20.36 kB / 0.5238 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.3593, allocations: 33.86 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.3594, allocations: 55.42 kB / 0.5239 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3594, allocations: 4.031 kB / 0.5239 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001894/0.3596, allocations: 89.42 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3596, allocations: 5.469 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3597, allocations: 288 / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3597, allocations: 1.781 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.3597, allocations: 11.66 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3598, allocations: 1.219 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.3598, allocations: 8.516 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3598, allocations: 6.062 kB / 0.524 GB, free: 15.67 MB / 398.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.493e-05/0.3599, allocations: 123 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.3599, allocations: 12.11 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.3602, allocations: 96.22 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3602, allocations: 1.922 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3602, allocations: 0 / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3602, allocations: 1.156 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.3606, allocations: 357 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3606, allocations: 1.219 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.3607, allocations: 15.77 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3607, allocations: 0.75 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3607, allocations: 1.125 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3607, allocations: 5.062 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3607, allocations: 0.6562 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.361, allocations: 189.9 kB / 0.5247 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.361, allocations: 83.36 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.361, allocations: 0.7031 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.3611, allocations: 9.578 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.3611, allocations: 3 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3611, allocations: 2.188 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.207e-05/0.3612, allocations: 104.4 kB / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3613, allocations: 0 / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3615, allocations: 27.02 kB / 0.525 GB, free: 14.78 MB / 398.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.0009242/0.3624, allocations: 436.2 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.3627, allocations: 57.66 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3627, allocations: 0 / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.3628, allocations: 26.56 kB / 0.5255 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3631, allocations: 25.39 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.3636, allocations: 167.2 kB / 0.5256 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.3638, allocations: 0.6969 MB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.802e-05/0.3639, allocations: 19.89 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.364, allocations: 19.17 kB / 0.5264 GB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.364, allocations: 0 / 0.5264 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Templates: time 0.004162/0.3681, allocations: 1.366 MB / 0.5277 GB, free: 13.35 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches