Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001115/0.001115, allocations: 78.66 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.001728/0.001728, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.217/1.217, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3479/0.3479, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.178e-05/4.427e-05, allocations: 2.312 kB / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004645/0.00469, allocations: 1.942 MB / 380.5 MB, free: 372 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.006561, allocations: 1.036 MB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.006711, allocations: 3.938 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.007172, allocations: 51.58 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.007568, allocations: 103.4 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.007836, allocations: 95.64 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.008093, allocations: 151.5 kB / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.008269, allocations: 25.8 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.00842, allocations: 79.73 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.008553, allocations: 39.84 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.008577, allocations: 4 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.0087, allocations: 51.91 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-05/0.008793, allocations: 27.86 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.09e-05/0.008854, allocations: 31.91 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.009139, allocations: 127.5 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.009147, allocations: 0 / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.009148, allocations: 0 / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.009158, allocations: 7.938 kB / 382.3 MB, free: 14.54 MB / 362.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.0007829/0.009941, allocations: 0.4974 MB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.009999, allocations: 8.031 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.01007, allocations: 28.8 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.01033, allocations: 173.1 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.01036, allocations: 8.375 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.01039, allocations: 8.312 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.01063, allocations: 139.7 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.01064, allocations: 7.938 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.01066, allocations: 0 / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.01067, allocations: 4 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.01072, allocations: 19.92 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.0113, allocations: 0.5566 MB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.01155, allocations: 71.08 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.0116, allocations: 19.69 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.01162, allocations: 8 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.01183, allocations: 98.66 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.01183, allocations: 4 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002705/0.01211, allocations: 101.5 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.01214, allocations: 51.41 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.01231, allocations: 243 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.01233, allocations: 29.7 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.01243, allocations: 166.7 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.01246, allocations: 35.72 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.0125, allocations: 35.36 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.01268, allocations: 0.5078 MB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/0.01271, allocations: 8 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.01276, allocations: 62.39 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/0.01285, allocations: 78.36 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01285, allocations: 0 / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001591/0.01301, allocations: 109.5 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.01303, allocations: 8 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.01304, allocations: 4 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.01306, allocations: 3.938 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.01316, allocations: 19.98 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.01316, allocations: 4 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.0132, allocations: 11.94 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01321, allocations: 4 kB / 385.4 MB, free: 11.14 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.0001203/0.01333, allocations: 168.5 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.01335, allocations: 19.89 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.01356, allocations: 107.1 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01357, allocations: 0 / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.01357, allocations: 0 / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.01357, allocations: 4 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.01372, allocations: 133.1 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01372, allocations: 0 / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.0138, allocations: 12 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.0138, allocations: 0 / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.01382, allocations: 4 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.01382, allocations: 8 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01382, allocations: 0 / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.01404, allocations: 156.7 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.01406, allocations: 15.84 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.01409, allocations: 7.984 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.01412, allocations: 4 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.01416, allocations: 11.92 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.01418, allocations: 4 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.868e-05/0.01426, allocations: 163.1 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01426, allocations: 0 / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.01443, allocations: 24 kB / 386.3 MB, free: 10.26 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.001177/0.01561, allocations: 403.1 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01574, allocations: 59.53 kB / 386.7 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01574, allocations: 4.25 kB / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.874e-05/0.01579, allocations: 31.61 kB / 386.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.01604, allocations: 43.09 kB / 386.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.01655, allocations: 246 kB / 387 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.614e-05/0.01661, allocations: 71.83 kB / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.088e-05/0.01666, allocations: 13.48 kB / 387.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.01676, allocations: 106.2 kB / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of SimCode: time 1.273e-06/0.01676, allocations: 3.938 kB / 387.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of Templates: time 0.005254/0.02201, allocations: 2.232 MB / 389.5 MB, free: 7.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.751273821108043]