Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002034/0.002035, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 79.88 kB / 482.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3685, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003141/0.3717, allocations: 1.688 MB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3736, allocations: 1.004 MB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.019e-05/0.3737, allocations: 0 / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.374, allocations: 51 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.3744, allocations: 105.8 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.3746, allocations: 70.94 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.3747, allocations: 102.2 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.3748, allocations: 5.734 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.403e-05/0.3749, allocations: 38.92 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.375, allocations: 34.83 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.375, allocations: 2.75 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.3751, allocations: 36.56 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.3752, allocations: 30.84 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.3752, allocations: 39.72 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3755, allocations: 124.3 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3755, allocations: 4 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3755, allocations: 1.188 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3755, allocations: 0 / 0.535 GB, free: 11.09 MB / 398.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.0005846/0.3761, allocations: 431.5 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3761, allocations: 9.875 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.3762, allocations: 19.55 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.3765, allocations: 218.8 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3765, allocations: 5.75 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3765, allocations: 9.797 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3767, allocations: 50.95 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3767, allocations: 0 / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3767, allocations: 1.312 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3767, allocations: 0 / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.787e-05/0.3768, allocations: 12.69 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.377, allocations: 199.8 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.3772, allocations: 62.89 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/0.3773, allocations: 20.58 kB / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3773, allocations: 1.156 kB / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.3775, allocations: 64.83 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3775, allocations: 0 / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002954/0.3778, allocations: 109.2 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.3778, allocations: 52.47 kB / 0.5362 GB, free: 9.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3781, allocations: 270.3 kB / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3781, allocations: 26.83 kB / 0.5365 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.3782, allocations: 111.1 kB / 0.5366 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.3783, allocations: 15.12 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.3783, allocations: 22.95 kB / 0.5366 GB, free: 9.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3784, allocations: 324 kB / 0.5369 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.3785, allocations: 14.78 kB / 0.5369 GB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.3786, allocations: 31.58 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3787, allocations: 43.36 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3787, allocations: 1.281 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001682/0.3789, allocations: 92.16 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3789, allocations: 5.719 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3789, allocations: 5.375 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3789, allocations: 0 / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.379, allocations: 17.52 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.379, allocations: 0 / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.3791, allocations: 7.531 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3791, allocations: 1.375 kB / 0.5371 GB, free: 9.039 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 0.0001117/0.3792, allocations: 137.6 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.3793, allocations: 10.53 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.3793, allocations: 23.95 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3793, allocations: 0 / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3793, allocations: 1.094 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3793, allocations: 0 / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.3795, allocations: 204.2 kB / 0.5375 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3795, allocations: 3.938 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.3795, allocations: 2.438 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3796, allocations: 1.344 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3796, allocations: 9.047 kB / 0.5375 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3796, allocations: 0 / 0.5375 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3796, allocations: 0 / 0.5375 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3798, allocations: 123.2 kB / 0.5376 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.3798, allocations: 88.95 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3799, allocations: 1.375 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.3799, allocations: 1.312 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.3799, allocations: 10.62 kB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.38, allocations: 1.438 kB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.3802, allocations: 199.2 kB / 0.5379 GB, free: 8.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3802, allocations: 4 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.3804, allocations: 26.17 kB / 0.5379 GB, free: 8.301 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.000955/0.3814, allocations: 393.4 kB / 0.5383 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.3816, allocations: 44.48 kB / 0.5384 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3816, allocations: 0 / 0.5384 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.3816, allocations: 15.06 kB / 0.5384 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.3819, allocations: 46.09 kB / 0.5384 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.3825, allocations: 298.4 kB / 0.5387 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.3828, allocations: 0.7194 MB / 0.5394 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.3829, allocations: 17.78 kB / 0.5394 GB, free: 7.094 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3829, allocations: 0 / 0.5394 GB, free: 7.094 MB / 398.1 MB Notification: Performance of Templates: time 0.003942/0.3868, allocations: 1.898 MB / 0.5413 GB, free: 6.105 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches