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.001323/0.001323, allocations: 108.7 kB / 18.45 MB, free: 4.645 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.001434/0.001434, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.3/1.3, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.1988/0.1988, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3744, allocations: 60.83 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002826/0.3773, allocations: 1.568 MB / 0.5211 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.3788, allocations: 1.028 MB / 0.5221 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.3788, allocations: 4.938 kB / 0.5221 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.379, allocations: 19.25 kB / 0.5221 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.3792, allocations: 41.97 kB / 0.5222 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.3795, allocations: 110.7 kB / 0.5223 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.3796, allocations: 55.89 kB / 0.5223 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.904e-05/0.3797, allocations: 12.45 kB / 0.5224 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.3797, allocations: 23.45 kB / 0.5224 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3798, allocations: 33.97 kB / 0.5224 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3799, allocations: 3.312 kB / 0.5224 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.38, allocations: 45.31 kB / 0.5225 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.38, allocations: 17.3 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.38, allocations: 17.89 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3802, allocations: 86.41 kB / 0.5226 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3802, allocations: 4.75 kB / 0.5226 GB, free: 1.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3802, allocations: 1.219 kB / 0.5226 GB, free: 1.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3802, allocations: 0 / 0.5226 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.0003158/0.3806, allocations: 374.3 kB / 0.5229 GB, free: 1.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.3806, allocations: 8.281 kB / 0.5229 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.3806, allocations: 12.41 kB / 0.523 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3808, allocations: 192.5 kB / 0.5231 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.3808, allocations: 1.531 kB / 0.5231 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.3808, allocations: 6.281 kB / 0.5231 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3809, allocations: 66.38 kB / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3809, allocations: 1.25 kB / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.381, allocations: 7.938 kB / 0.5232 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.381, allocations: 0.9375 kB / 0.5232 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.595e-05/0.381, allocations: 23.14 kB / 0.5232 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.3813, allocations: 279.6 kB / 0.5235 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.3815, allocations: 46.27 kB / 0.5235 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.3816, allocations: 22.48 kB / 0.5236 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.3816, allocations: 1.25 kB / 0.5236 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.3816, allocations: 36.41 kB / 0.5236 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3816, allocations: 0 / 0.5236 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004772/0.3821, allocations: 153.7 kB / 0.5238 GB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.3821, allocations: 79.2 kB / 0.5238 GB, free: 376 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3822, allocations: 131.5 kB / 0.524 GB, free: 264 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.3822, allocations: 27.08 kB / 0.524 GB, free: 232 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.3823, allocations: 87.98 kB / 0.5241 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.3823, allocations: 20.47 kB / 0.5241 GB, free: 128 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.3823, allocations: 22.47 kB / 0.5241 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3824, allocations: 320.1 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.3825, allocations: 19.58 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.3826, allocations: 37.27 kB / 0.5245 GB, free: 15.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.3828, allocations: 47.8 kB / 0.5245 GB, free: 15.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3828, allocations: 0 / 0.5245 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000189/0.383, allocations: 93.41 kB / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.383, allocations: 5.625 kB / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.383, allocations: 0 / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.383, allocations: 0.9688 kB / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.3831, allocations: 13.12 kB / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.3831, allocations: 0 / 0.5246 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.3831, allocations: 8.844 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3831, allocations: 6.641 kB / 0.5246 GB, free: 15.68 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.844e-05/0.3832, allocations: 122.8 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3833, allocations: 8.203 kB / 0.5248 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.3835, allocations: 96.84 kB / 0.5248 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3835, allocations: 5.422 kB / 0.5249 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3835, allocations: 320 / 0.5249 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3835, allocations: 0.5156 kB / 0.5249 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.384, allocations: 361.6 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.384, allocations: 3.938 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.384, allocations: 13.48 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.384, allocations: 0 / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.384, allocations: 1.25 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3841, allocations: 4.547 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3841, allocations: 1.5 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.3843, allocations: 181.4 kB / 0.5254 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.3843, allocations: 78.42 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.3844, allocations: 5.828 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.3844, allocations: 8.953 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.3845, allocations: 4.562 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3845, allocations: 1.062 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.3846, allocations: 107.5 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3846, allocations: 3.938 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3848, allocations: 24.94 kB / 0.5256 GB, free: 14.79 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.0009176/0.3857, allocations: 437 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.386, allocations: 57.8 kB / 0.5261 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.386, allocations: 0 / 0.5261 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.921e-05/0.3861, allocations: 25.94 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.3864, allocations: 13.86 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.3867, allocations: 194.4 kB / 0.5263 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.387, allocations: 0.6917 MB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.387, allocations: 24.02 kB / 0.527 GB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.387, allocations: 0 / 0.527 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Templates: time 0.003506/0.3905, allocations: 1.599 MB / 0.5286 GB, free: 13.24 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/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