Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 108.1 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.0009953/0.0009953, allocations: 180.2 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.07 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.2076/0.2076, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3851, allocations: 60.83 MB / 0.5196 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00321/0.3883, allocations: 1.707 MB / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.3898, allocations: 0.8775 MB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.3899, allocations: 0.9688 kB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.3902, allocations: 50.84 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.3905, allocations: 60.34 kB / 0.5223 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.3909, allocations: 104.5 kB / 0.5224 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.3911, allocations: 100.1 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3912, allocations: 16.31 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.565e-05/0.3913, allocations: 37.61 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.3914, allocations: 34.81 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3914, allocations: 3.406 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3915, allocations: 43.2 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.3916, allocations: 26.56 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.3917, allocations: 42.8 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.3919, allocations: 128.5 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3919, allocations: 0.7188 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3919, allocations: 0 / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3919, allocations: 8.844 kB / 0.5228 GB, free: 1.539 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.0005237/0.3925, allocations: 429.8 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3925, allocations: 10.69 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.3926, allocations: 14.06 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.3928, allocations: 222.7 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3928, allocations: 1.953 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3929, allocations: 7.125 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.393, allocations: 57.98 kB / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.393, allocations: 0 / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3931, allocations: 1.688 kB / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3931, allocations: 0.9688 kB / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.3931, allocations: 17.95 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.3935, allocations: 300.9 kB / 0.5238 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3937, allocations: 61.34 kB / 0.5239 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.3937, allocations: 23.28 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3937, allocations: 5.922 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.3939, allocations: 65.77 kB / 0.524 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3939, allocations: 0 / 0.524 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000528/0.3944, allocations: 178.4 kB / 0.5241 GB, free: 348 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.3945, allocations: 61.08 kB / 0.5242 GB, free: 276 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.3947, allocations: 263.6 kB / 0.5244 GB, free: 124 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.3947, allocations: 33.58 kB / 0.5245 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.3948, allocations: 111.5 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.3949, allocations: 26.28 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.3949, allocations: 23.47 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.395, allocations: 330.6 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.3951, allocations: 21.61 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/0.3952, allocations: 39.58 kB / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.3953, allocations: 57.58 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3953, allocations: 1.094 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000204/0.3956, allocations: 106 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3956, allocations: 5.969 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3956, allocations: 0 / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3956, allocations: 2.156 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/0.3957, allocations: 22.91 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3957, allocations: 2.016 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.3958, allocations: 10.2 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.3958, allocations: 2.906 kB / 0.5252 GB, free: 15.47 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.0001207/0.3959, allocations: 133.5 kB / 0.5253 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.3959, allocations: 15.17 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.396, allocations: 19.19 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.396, allocations: 1.25 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.396, allocations: 5.25 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.396, allocations: 4.5 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.3965, allocations: 401.7 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3965, allocations: 1.969 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.3966, allocations: 9.297 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3966, allocations: 0 / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3966, allocations: 6.266 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3966, allocations: 1.75 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3966, allocations: 1.516 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.3968, allocations: 214.7 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.3969, allocations: 92.12 kB / 0.5261 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.3969, allocations: 10.69 kB / 0.5261 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.397, allocations: 11.86 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.3971, allocations: 4.969 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.3971, allocations: 8.422 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.3973, allocations: 203.7 kB / 0.5263 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3973, allocations: 1.156 kB / 0.5263 GB, free: 14.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.3976, allocations: 26.72 kB / 0.5263 GB, free: 14.54 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.001049/0.3986, allocations: 465.1 kB / 0.5268 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3988, allocations: 60.83 kB / 0.5268 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3988, allocations: 0 / 0.5268 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.314e-05/0.3989, allocations: 32.17 kB / 0.5269 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.3993, allocations: 29.91 kB / 0.5269 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.3998, allocations: 306.7 kB / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.4001, allocations: 0.7225 MB / 0.5279 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.4001, allocations: 16.39 kB / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4001, allocations: 3.938 kB / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of Templates: time 0.004338/0.4045, allocations: 2.078 MB / 0.5299 GB, free: 12.53 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches