Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 186.5 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2604/0.2604, allocations: 44.91 MB / 353.5 MB, free: 11.81 MB / 286.1 MB " [Timeout remaining time 179] 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.89 kB / 497.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4689, allocations: 64.3 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003973/0.4729, allocations: 1.966 MB / 0.5508 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.4749, allocations: 1.07 MB / 0.5518 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.475, allocations: 2.594 kB / 0.5518 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007838/0.4758, allocations: 210.4 kB / 0.552 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.4762, allocations: 156.2 kB / 0.5522 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.4769, allocations: 234.8 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.4772, allocations: 257.6 kB / 0.5527 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.4773, allocations: 11.23 kB / 0.5527 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.4775, allocations: 109.7 kB / 0.5528 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.4777, allocations: 117 kB / 0.5529 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.4777, allocations: 10.03 kB / 0.5529 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.4779, allocations: 62.92 kB / 0.553 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.478, allocations: 50.88 kB / 0.553 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.4781, allocations: 84.06 kB / 0.5531 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.4785, allocations: 248.2 kB / 0.5533 GB, free: 9.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4785, allocations: 0 / 0.5533 GB, free: 9.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4785, allocations: 0 / 0.5533 GB, free: 9.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.4785, allocations: 1.062 kB / 0.5533 GB, free: 9.793 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000955/0.4795, allocations: 482.7 kB / 0.5538 GB, free: 9.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4795, allocations: 10.23 kB / 0.5538 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.4796, allocations: 23.39 kB / 0.5538 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.4801, allocations: 227.2 kB / 0.554 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.4801, allocations: 6.656 kB / 0.554 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.4801, allocations: 11.59 kB / 0.554 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.4805, allocations: 98.94 kB / 0.5541 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4805, allocations: 0 / 0.5541 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.4805, allocations: 5.016 kB / 0.5541 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4805, allocations: 2.281 kB / 0.5541 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.4807, allocations: 43.94 kB / 0.5542 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/0.4813, allocations: 349.2 kB / 0.5545 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.4817, allocations: 112.7 kB / 0.5546 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.4818, allocations: 46.05 kB / 0.5547 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.4819, allocations: 1.312 kB / 0.5547 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.4822, allocations: 114.4 kB / 0.5548 GB, free: 8.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.4822, allocations: 1 kB / 0.5548 GB, free: 8.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000523/0.4827, allocations: 180.4 kB / 0.555 GB, free: 8.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/0.4828, allocations: 105.1 kB / 0.5551 GB, free: 8.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/0.4832, allocations: 341.7 kB / 0.5554 GB, free: 7.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.4832, allocations: 26.98 kB / 0.5554 GB, free: 7.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.4834, allocations: 139.3 kB / 0.5555 GB, free: 7.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.4834, allocations: 33.27 kB / 0.5556 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.4835, allocations: 28.44 kB / 0.5556 GB, free: 7.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.4837, allocations: 345.6 kB / 0.5559 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-05/0.4837, allocations: 32.89 kB / 0.556 GB, free: 7.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.4839, allocations: 77.38 kB / 0.556 GB, free: 7.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.4841, allocations: 101.5 kB / 0.5561 GB, free: 7.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4841, allocations: 1.188 kB / 0.5561 GB, free: 7.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003046/0.4844, allocations: 152.1 kB / 0.5563 GB, free: 7.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4844, allocations: 6.406 kB / 0.5563 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4844, allocations: 0 / 0.5563 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4845, allocations: 2.344 kB / 0.5563 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.4846, allocations: 22.2 kB / 0.5563 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4846, allocations: 1.312 kB / 0.5563 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.4847, allocations: 18.05 kB / 0.5563 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.4847, allocations: 7.75 kB / 0.5563 GB, free: 7.172 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001644/0.4849, allocations: 154.8 kB / 0.5565 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.4849, allocations: 30.81 kB / 0.5565 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.4853, allocations: 163.7 kB / 0.5567 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4853, allocations: 1.125 kB / 0.5567 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4853, allocations: 1.344 kB / 0.5567 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4853, allocations: 4 kB / 0.5567 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.4855, allocations: 222.5 kB / 0.5569 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4855, allocations: 5.094 kB / 0.5569 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.4856, allocations: 6.344 kB / 0.5569 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4856, allocations: 5.078 kB / 0.5569 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.4856, allocations: 6.281 kB / 0.5569 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4856, allocations: 1.125 kB / 0.5569 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4856, allocations: 1.094 kB / 0.5569 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.486, allocations: 190.1 kB / 0.5571 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.486, allocations: 22.44 kB / 0.5571 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.486, allocations: 6.094 kB / 0.5571 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.4861, allocations: 4.844 kB / 0.5571 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.4862, allocations: 15.84 kB / 0.5571 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.4862, allocations: 8.531 kB / 0.5571 GB, free: 6.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000299/0.4865, allocations: 244.3 kB / 0.5574 GB, free: 6.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4865, allocations: 0 / 0.5574 GB, free: 6.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.4868, allocations: 44.58 kB / 0.5574 GB, free: 6.312 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001563/0.4883, allocations: 422.5 kB / 0.5578 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.4887, allocations: 91.83 kB / 0.5579 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4887, allocations: 0 / 0.5579 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.4888, allocations: 39.98 kB / 0.558 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.4892, allocations: 61 kB / 0.558 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.49, allocations: 379.9 kB / 0.5584 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.4904, allocations: 0.7513 MB / 0.5591 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.398e-05/0.4905, allocations: 33.94 kB / 0.5591 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.4905, allocations: 23.42 kB / 0.5592 GB, free: 4.625 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4905, allocations: 0 / 0.5592 GB, free: 4.625 MB / 398.1 MB Notification: Performance of Templates: time 0.007847/0.4984, allocations: 3.049 MB / 0.5621 GB, free: 1.609 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.603367472998798]