Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001307, allocations: 111.8 kB / 18.45 MB, free: 4.602 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.001293/0.001293, allocations: 182.3 kB / 19.38 MB, free: 3.684 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.321/1.321, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2027/0.2027, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3726, allocations: 60.82 MB / 0.5196 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002935/0.3756, allocations: 1.718 MB / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3769, allocations: 0.8744 MB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.377, allocations: 1.312 kB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.3773, allocations: 35.02 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.3776, allocations: 59.98 kB / 0.5223 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.3779, allocations: 117 kB / 0.5224 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.378, allocations: 95.64 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.3781, allocations: 8.234 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.591e-05/0.3782, allocations: 41.95 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.3783, allocations: 29.53 kB / 0.5225 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.3783, allocations: 3.969 kB / 0.5225 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3784, allocations: 42.39 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.3785, allocations: 26.3 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.3786, allocations: 33.14 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.3788, allocations: 115.4 kB / 0.5228 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3788, allocations: 0 / 0.5228 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3788, allocations: 0.9062 kB / 0.5228 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3788, allocations: 0 / 0.5228 GB, free: 1.559 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004483/0.3793, allocations: 405 kB / 0.5231 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3793, allocations: 10.44 kB / 0.5232 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.3794, allocations: 9.344 kB / 0.5232 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3796, allocations: 211.1 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3796, allocations: 1.594 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.3797, allocations: 7.203 kB / 0.5234 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3798, allocations: 58.03 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3798, allocations: 3.906 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3798, allocations: 0 / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3799, allocations: 5.578 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.3799, allocations: 18 kB / 0.5235 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.3803, allocations: 290.4 kB / 0.5237 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.3804, allocations: 60.08 kB / 0.5238 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.3805, allocations: 19.98 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3805, allocations: 1.938 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.3807, allocations: 69.69 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3807, allocations: 3.938 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005135/0.3812, allocations: 177.1 kB / 0.524 GB, free: 392 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.3812, allocations: 60.5 kB / 0.5241 GB, free: 320 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3814, allocations: 182.3 kB / 0.5243 GB, free: 192 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.3814, allocations: 31.55 kB / 0.5243 GB, free: 156 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.3815, allocations: 98.73 kB / 0.5244 GB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.3815, allocations: 26.73 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.3815, allocations: 25.92 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3817, allocations: 326.6 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.3818, allocations: 21.17 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/0.3818, allocations: 39.91 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.3819, allocations: 57.98 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.382, allocations: 4 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.3821, allocations: 100.8 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3822, allocations: 5.594 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3822, allocations: 0 / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3822, allocations: 2.969 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.441e-05/0.3823, allocations: 14.77 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3823, allocations: 1.688 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.3824, allocations: 10.47 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.3824, allocations: 2.922 kB / 0.525 GB, free: 15.55 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 (10): * Single equations (assignments): 10 * 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 0.0001035/0.3825, allocations: 133.6 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.3825, allocations: 13.22 kB / 0.5252 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.3826, allocations: 14.84 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3826, allocations: 2.141 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3826, allocations: 1.406 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.3826, allocations: 3.938 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.3831, allocations: 394.5 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3831, allocations: 7.969 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.3831, allocations: 8.203 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3831, allocations: 1.656 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3831, allocations: 10.56 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3831, allocations: 2 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3832, allocations: 0 / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.3834, allocations: 197 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.3835, allocations: 92.7 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.3835, allocations: 11.14 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.3836, allocations: 2.172 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.3836, allocations: 9.797 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.3836, allocations: 5.406 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.3838, allocations: 147.8 kB / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3838, allocations: 0 / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.384, allocations: 22.17 kB / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001072/0.3851, allocations: 466.7 kB / 0.5265 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.3853, allocations: 56.33 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3853, allocations: 4 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.3854, allocations: 28.64 kB / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3858, allocations: 30.8 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.3862, allocations: 247.2 kB / 0.5268 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3865, allocations: 0.7057 MB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.3866, allocations: 19.16 kB / 0.5275 GB, free: 13.49 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3866, allocations: 5.438 kB / 0.5276 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.003852/0.3905, allocations: 1.904 MB / 0.5294 GB, free: 12.83 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches