Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3778/0.3778, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.307e-05/4.517e-05, allocations: 5.547 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004228/0.004273, allocations: 1.723 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.006381, allocations: 0.9703 MB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.006476, allocations: 0 / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.006856, allocations: 59.69 kB / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.007288, allocations: 103.5 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.007577, allocations: 79.66 kB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.007816, allocations: 107.6 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.007916, allocations: 8 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.008054, allocations: 51.83 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.008146, allocations: 27.91 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.00817, allocations: 4 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.008299, allocations: 51.84 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.243e-05/0.008371, allocations: 31.86 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.008428, allocations: 15.94 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.00873, allocations: 139.5 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.008736, allocations: 3.984 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.008738, allocations: 0 / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.008744, allocations: 0 / 378.7 MB, free: 1.504 MB / 346.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.000721/0.009465, allocations: 373.3 kB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.009509, allocations: 12.03 kB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/0.009591, allocations: 16.84 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.009963, allocations: 166.4 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.009979, allocations: 384 / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.01001, allocations: 8.359 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.01019, allocations: 54.23 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.0102, allocations: 3.938 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.01022, allocations: 3.938 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.01022, allocations: 0 / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.659e-05/0.01031, allocations: 23.98 kB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.01078, allocations: 244.5 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.01098, allocations: 54.67 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.01105, allocations: 28.78 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.01107, allocations: 4 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.01125, allocations: 63.39 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.01125, allocations: 0 / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006614/0.01191, allocations: 189.2 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.01197, allocations: 67.34 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.01233, allocations: 276.1 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.01236, allocations: 25.7 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.01245, allocations: 120 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.0125, allocations: 31.77 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.01255, allocations: 21.72 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.01275, allocations: 326.8 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.01282, allocations: 23.98 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.0129, allocations: 33.7 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.01305, allocations: 73.58 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.01305, allocations: 0 / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002407/0.01329, allocations: 105.6 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01331, allocations: 4 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01331, allocations: 0 / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.01333, allocations: 4 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.01342, allocations: 19.94 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.01343, allocations: 384 / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.657e-05/0.01349, allocations: 7.984 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.0135, allocations: 4.031 kB / 381 MB, free: 14.97 MB / 362.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 0.0001416/0.01364, allocations: 141.8 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.01368, allocations: 19.91 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.01397, allocations: 131.2 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01398, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01398, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01398, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.01457, allocations: 366.9 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01457, allocations: 3.938 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.01462, allocations: 20.02 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01463, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.01464, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01464, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01464, allocations: 4 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.01497, allocations: 220.2 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.015, allocations: 19.91 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.01502, allocations: 0 / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.01511, allocations: 7.984 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.01515, allocations: 3.938 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.01517, allocations: 8 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002293/0.0154, allocations: 212.5 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0154, allocations: 0 / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.01569, allocations: 31.92 kB / 382.2 MB, free: 13.74 MB / 362.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 (9): * Single equations (assignments): 7 * 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.002292/0.01798, allocations: 499.7 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.0182, allocations: 55.91 kB / 382.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.0182, allocations: 0 / 382.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/0.01829, allocations: 31.94 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.01868, allocations: 42.5 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.01935, allocations: 294 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.01948, allocations: 113.2 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.641e-05/0.01954, allocations: 17.28 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.01958, allocations: 20.48 kB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01958, allocations: 0 / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of Templates: time 0.005843/0.02543, allocations: 1.898 MB / 385.2 MB, free: 10.97 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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: 4.827380392001942]