Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001383/0.001383, allocations: 82.64 kB / 21.42 MB, free: 3.074 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.001721/0.001721, allocations: 172.1 kB / 24.82 MB, free: 8.773 MB / 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 0.993/0.993, allocations: 177.1 MB / 205.3 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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.2725/0.2725, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 376.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.675e-05, allocations: 2.312 kB / 376.5 MB, free: 4.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004242/0.004269, allocations: 1.962 MB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.006146, allocations: 1.032 MB / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.006297, allocations: 0 / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.006657, allocations: 39.66 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004263/0.007083, allocations: 107.4 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.007414, allocations: 103.6 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.007696, allocations: 147.5 kB / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.007828, allocations: 17.8 kB / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.00799, allocations: 83.67 kB / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.008104, allocations: 35.89 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.008128, allocations: 8 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.00825, allocations: 47.92 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.008315, allocations: 27.86 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.008371, allocations: 31.91 kB / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.008655, allocations: 135.4 kB / 380.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.008661, allocations: 8 kB / 380.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.008663, allocations: 0 / 380.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.008669, allocations: 0 / 380.3 MB, free: 0.5508 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006089/0.009278, allocations: 0.4897 MB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.009322, allocations: 8.031 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/0.009396, allocations: 28.84 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.009606, allocations: 173 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.009625, allocations: 4.375 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.00965, allocations: 8.375 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.009857, allocations: 147.7 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.009868, allocations: 3.938 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.009879, allocations: 4 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.009886, allocations: 0 / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/0.009935, allocations: 23.92 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.01048, allocations: 0.5565 MB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.0107, allocations: 59.17 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.01074, allocations: 31.66 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.01075, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.0109, allocations: 102.7 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.924e-06/0.0109, allocations: 0 / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002264/0.01113, allocations: 101.5 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.01116, allocations: 55.41 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.01134, allocations: 250.9 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.01136, allocations: 25.7 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.01145, allocations: 166.8 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.01147, allocations: 35.72 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.01153, allocations: 31.38 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.01169, allocations: 0.5039 MB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.01173, allocations: 8 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/0.01178, allocations: 62.41 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/0.01188, allocations: 86.28 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01188, allocations: 0 / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001697/0.01205, allocations: 113.5 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.01207, allocations: 4 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01208, allocations: 0 / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.01209, allocations: 4 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.01218, allocations: 27.92 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01218, allocations: 4 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.01224, allocations: 7.938 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.01224, allocations: 4 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001031/0.01235, allocations: 170.5 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.01238, allocations: 15.91 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.01256, allocations: 103.1 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01256, allocations: 0 / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01257, allocations: 0 / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.01257, allocations: 3.984 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.01272, allocations: 137.1 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01272, allocations: 0 / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.01279, allocations: 15.98 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01279, allocations: 0 / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.0128, allocations: 7.938 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01281, allocations: 4 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.01281, allocations: 4 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.01303, allocations: 152.7 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.01305, allocations: 15.84 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.01308, allocations: 4 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.638e-05/0.01313, allocations: 11.92 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.01317, allocations: 7.984 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.01318, allocations: 4 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.529e-05/0.01326, allocations: 167.1 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01326, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.01342, allocations: 28.03 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000954/0.01437, allocations: 381.1 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.0145, allocations: 63.53 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.0145, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.01486, allocations: 31.66 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.01508, allocations: 46.64 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.01549, allocations: 254 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.01553, allocations: 71.83 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.624e-05/0.01557, allocations: 17.73 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.01565, allocations: 94.19 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01565, allocations: 0 / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of Templates: time 0.004148/0.0198, allocations: 2.24 MB / 387.4 MB, free: 9.199 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.034621472004801]