Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.00193/0.00193, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001941/0.001941, allocations: 165.3 kB / 24.27 MB, free: 160 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.62/1.62, allocations: 177.2 MB / 204.6 MB, free: 5.598 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.3863/0.3863, allocations: 32.81 MB / 293.9 MB, free: 1.211 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.926e-05/4.092e-05, allocations: 9.344 kB / 375.4 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003878/0.003919, allocations: 1.746 MB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.007033, allocations: 1.699 MB / 378.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.007097, allocations: 4 kB / 378.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.007375, allocations: 35.72 kB / 378.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.007739, allocations: 107.4 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.007947, allocations: 75.62 kB / 379 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.008154, allocations: 111.7 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.008242, allocations: 4 kB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.008371, allocations: 63.75 kB / 379.2 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.008515, allocations: 35.91 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.008539, allocations: 4 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.008734, allocations: 95.88 kB / 379.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.008808, allocations: 35.84 kB / 379.4 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.008859, allocations: 19.92 kB / 379.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.009201, allocations: 175.4 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.009203, allocations: 0 / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.009204, allocations: 0 / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.00921, allocations: 0 / 379.5 MB, free: 0.6953 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.0006672/0.009877, allocations: 463.4 kB / 380 MB, free: 212 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.009914, allocations: 8.031 kB / 380 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.009979, allocations: 8.891 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.01026, allocations: 156.9 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.01028, allocations: 8.375 kB / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.0103, allocations: 384 / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.01053, allocations: 102.7 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.01055, allocations: 0 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.01056, allocations: 4 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.01057, allocations: 0 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.01065, allocations: 15.98 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.01113, allocations: 299.7 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.01132, allocations: 63.16 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.01138, allocations: 19.69 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.0114, allocations: 8 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.01158, allocations: 76.97 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.01158, allocations: 0 / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006385/0.01222, allocations: 177.3 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.01229, allocations: 77.11 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.01252, allocations: 229.9 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.01255, allocations: 29.7 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.01265, allocations: 150.8 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.01269, allocations: 27.78 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.01275, allocations: 27.38 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000276/0.01303, allocations: 0.5078 MB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.01309, allocations: 19.98 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.01319, allocations: 80.73 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.01332, allocations: 67.31 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01332, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002049/0.01352, allocations: 105.6 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.01354, allocations: 4 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01354, allocations: 4.312 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01356, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.01365, allocations: 19.98 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01366, allocations: 4.062 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.01371, allocations: 8 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.01372, allocations: 0 / 382.3 MB, free: 13.71 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.0001482/0.01386, allocations: 176.5 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.01389, allocations: 7.953 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.01416, allocations: 118.5 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.01417, allocations: 4 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01417, allocations: 0 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01417, allocations: 0 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.01471, allocations: 417 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01471, allocations: 0 / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.01476, allocations: 11.98 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01477, allocations: 0 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01478, allocations: 7.938 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.01478, allocations: 0 / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01478, allocations: 0 / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.01512, allocations: 275.4 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.01514, allocations: 7.953 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.01517, allocations: 7.984 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.01524, allocations: 4 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.0153, allocations: 15.95 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.01531, allocations: 0 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.01548, allocations: 183.1 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01548, allocations: 0 / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003229/0.0158, allocations: 51.8 kB / 383.5 MB, free: 12.37 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.003719/0.01952, allocations: 0.5838 MB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.0198, allocations: 67.59 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.0198, allocations: 0 / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.672e-05/0.0199, allocations: 47.53 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.02029, allocations: 41.86 kB / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.02085, allocations: 217.8 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.02095, allocations: 89.56 kB / 384.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.02102, allocations: 16.97 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.02107, allocations: 20.5 kB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02107, allocations: 0 / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.00702/0.02809, allocations: 2.529 MB / 387.1 MB, free: 8.977 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.322232184000313]