Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009934/0.000993, allocations: 105 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4834/0.4834, allocations: 44.12 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009985/0.0009987, allocations: 51.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3766, allocations: 60.8 MB / 0.5064 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003002/0.3796, allocations: 1.752 MB / 0.5081 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3809, allocations: 0.878 MB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.381, allocations: 2.531 kB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.3813, allocations: 75.39 kB / 0.509 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.3815, allocations: 59.88 kB / 0.5091 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.3818, allocations: 97.84 kB / 0.5092 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.382, allocations: 115.1 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.3821, allocations: 16.16 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.3821, allocations: 47.48 kB / 0.5094 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.3822, allocations: 50.23 kB / 0.5094 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3823, allocations: 2.625 kB / 0.5094 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.39e-05/0.3824, allocations: 38.83 kB / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.3824, allocations: 29.28 kB / 0.5095 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.3825, allocations: 33.28 kB / 0.5095 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3827, allocations: 116.4 kB / 0.5096 GB, free: 36.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3827, allocations: 4 kB / 0.5096 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3827, allocations: 0 / 0.5096 GB, free: 36.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3827, allocations: 0 / 0.5096 GB, free: 36.22 MB / 378.7 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.0005158/0.3832, allocations: 415.9 kB / 0.51 GB, free: 35.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3833, allocations: 8.594 kB / 0.51 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.3833, allocations: 14.84 kB / 0.51 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3835, allocations: 217.3 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3835, allocations: 11.12 kB / 0.5103 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.3836, allocations: 7.031 kB / 0.5103 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3837, allocations: 52.14 kB / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3837, allocations: 0 / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3838, allocations: 0 / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-06/0.3838, allocations: 5.859 kB / 0.5103 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.018e-05/0.3838, allocations: 19.53 kB / 0.5103 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.3842, allocations: 291.5 kB / 0.5106 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.3844, allocations: 60.59 kB / 0.5107 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.3844, allocations: 20.91 kB / 0.5107 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3845, allocations: 3.031 kB / 0.5107 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.3847, allocations: 64.52 kB / 0.5108 GB, free: 35.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3847, allocations: 7.938 kB / 0.5108 GB, free: 35.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005297/0.3852, allocations: 164.2 kB / 0.5109 GB, free: 35.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3852, allocations: 54.38 kB / 0.511 GB, free: 34.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3854, allocations: 210.2 kB / 0.5112 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.3854, allocations: 32.45 kB / 0.5112 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.3855, allocations: 104.6 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.3855, allocations: 25.41 kB / 0.5113 GB, free: 34.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.3856, allocations: 28.95 kB / 0.5114 GB, free: 34.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.3856, allocations: 332.7 kB / 0.5117 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.3857, allocations: 24.03 kB / 0.5117 GB, free: 34.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.3857, allocations: 39.45 kB / 0.5117 GB, free: 34.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.955e-05/0.3858, allocations: 54.06 kB / 0.5118 GB, free: 34.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3859, allocations: 3.938 kB / 0.5118 GB, free: 34.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001565/0.386, allocations: 110.5 kB / 0.5119 GB, free: 34.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.386, allocations: 6.062 kB / 0.5119 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.386, allocations: 0 / 0.5119 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3861, allocations: 0 / 0.5119 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.3862, allocations: 16.56 kB / 0.5119 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3862, allocations: 6.297 kB / 0.5119 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.3862, allocations: 3.938 kB / 0.5119 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3862, allocations: 2.875 kB / 0.5119 GB, free: 34.2 MB / 378.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 ($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 7.342e-05/0.3863, allocations: 130.9 kB / 0.5121 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.3863, allocations: 18.28 kB / 0.5121 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.3864, allocations: 18.33 kB / 0.5121 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3864, allocations: 0 / 0.5121 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3864, allocations: 0 / 0.5121 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3864, allocations: 10.84 kB / 0.5121 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.3867, allocations: 389.5 kB / 0.5125 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3868, allocations: 2.656 kB / 0.5125 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.3868, allocations: 9.828 kB / 0.5125 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3868, allocations: 6.969 kB / 0.5125 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3868, allocations: 11.36 kB / 0.5125 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3868, allocations: 2.906 kB / 0.5125 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3868, allocations: 0 / 0.5125 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.3872, allocations: 0.785 MB / 0.5133 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.3872, allocations: 85.02 kB / 0.5134 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.3873, allocations: 6.906 kB / 0.5134 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.3873, allocations: 6.344 kB / 0.5134 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.3874, allocations: 3 kB / 0.5134 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3874, allocations: 2.875 kB / 0.5134 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.781e-05/0.3875, allocations: 161.4 kB / 0.5135 GB, free: 32.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.3875, allocations: 0 / 0.5135 GB, free: 32.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.3879, allocations: 32.97 kB / 0.5136 GB, free: 32.71 MB / 378.7 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.001101/0.389, allocations: 464.5 kB / 0.514 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.3892, allocations: 68.83 kB / 0.5141 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3892, allocations: 0 / 0.5141 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.191e-05/0.3892, allocations: 28.59 kB / 0.5141 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3896, allocations: 32.42 kB / 0.5141 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.3901, allocations: 401 kB / 0.5145 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.3903, allocations: 0.7042 MB / 0.5152 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.3904, allocations: 15.08 kB / 0.5152 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.3904, allocations: 19.59 kB / 0.5152 GB, free: 31.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3904, allocations: 0 / 0.5152 GB, free: 31.41 MB / 378.7 MB Notification: Performance of Templates: time 0.004391/0.3948, allocations: 1.686 MB / 0.5169 GB, free: 31.21 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches