Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001393/0.001393, allocations: 183.1 kB / 18.7 MB, free: 4.371 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.572/1.572, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.217/0.217, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3742, allocations: 60.81 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002569/0.3768, allocations: 1.677 MB / 0.5206 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.378, allocations: 0.8476 MB / 0.5214 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.3781, allocations: 4.969 kB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.3784, allocations: 54.33 kB / 0.5215 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.3787, allocations: 56.12 kB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3789, allocations: 107.4 kB / 0.5216 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.3791, allocations: 89.28 kB / 0.5217 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.3792, allocations: 5.031 kB / 0.5217 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.726e-05/0.3793, allocations: 49.77 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.3793, allocations: 24.8 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.3794, allocations: 2.281 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.3794, allocations: 31.27 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.3795, allocations: 31.72 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.3796, allocations: 36.86 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.3798, allocations: 122 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3798, allocations: 0 / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3798, allocations: 0 / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3798, allocations: 1.312 kB / 0.522 GB, free: 1.582 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005009/0.3803, allocations: 430.2 kB / 0.5224 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3804, allocations: 9.812 kB / 0.5224 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.3804, allocations: 14.83 kB / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.3806, allocations: 222 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3807, allocations: 1.438 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3807, allocations: 6.344 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3808, allocations: 47.59 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3808, allocations: 0 / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3809, allocations: 4 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3809, allocations: 1.156 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.699e-05/0.3809, allocations: 14.97 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.3811, allocations: 193.9 kB / 0.5229 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.3813, allocations: 52.47 kB / 0.523 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.3813, allocations: 24.67 kB / 0.523 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3814, allocations: 4.609 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.3815, allocations: 64.94 kB / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3815, allocations: 0 / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002626/0.3818, allocations: 101 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.3818, allocations: 53.14 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3821, allocations: 261.9 kB / 0.5235 GB, free: 304 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.3821, allocations: 30.45 kB / 0.5235 GB, free: 268 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.3821, allocations: 111.5 kB / 0.5236 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.3821, allocations: 11.45 kB / 0.5236 GB, free: 156 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.3822, allocations: 23.7 kB / 0.5236 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3823, allocations: 324.6 kB / 0.5239 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.3824, allocations: 14.03 kB / 0.524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.676e-05/0.3824, allocations: 34.44 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.993e-05/0.3825, allocations: 45.53 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3825, allocations: 1.469 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001527/0.3827, allocations: 88.91 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3827, allocations: 6.234 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3827, allocations: 0 / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.3827, allocations: 1.219 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.3828, allocations: 14.98 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3828, allocations: 1.719 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.3829, allocations: 6.859 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.3829, allocations: 6.172 kB / 0.5242 GB, free: 15.68 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.872e-05/0.383, allocations: 138.9 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.383, allocations: 19.28 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.3831, allocations: 18.2 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3831, allocations: 1.062 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3831, allocations: 0 / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3831, allocations: 1.109 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.3832, allocations: 193.8 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3832, allocations: 8 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.3833, allocations: 4.984 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3833, allocations: 0.6562 kB / 0.5245 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3833, allocations: 6.047 kB / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3833, allocations: 0 / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3833, allocations: 1.688 kB / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.3835, allocations: 112.9 kB / 0.5246 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.3835, allocations: 90.09 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.3836, allocations: 8.938 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.3836, allocations: 3.828 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.3837, allocations: 2.359 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3837, allocations: 3.734 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.3838, allocations: 199.5 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3838, allocations: 0 / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.3841, allocations: 18.75 kB / 0.5249 GB, free: 15 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: 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 (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.0008902/0.385, allocations: 418 kB / 0.5253 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.3851, allocations: 45.22 kB / 0.5254 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3851, allocations: 0 / 0.5254 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.865e-05/0.3852, allocations: 17.66 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.3855, allocations: 38.23 kB / 0.5254 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.3859, allocations: 250.4 kB / 0.5257 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3862, allocations: 0.7209 MB / 0.5264 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.468e-05/0.3862, allocations: 9.859 kB / 0.5264 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.3863, allocations: 15.41 kB / 0.5264 GB, free: 13.89 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3863, allocations: 3.938 kB / 0.5264 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Templates: time 0.00385/0.3901, allocations: 1.507 MB / 0.5279 GB, free: 13.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches