Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.002281/0.002281, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002921/0.002921, allocations: 161.3 kB / 24.27 MB, free: 152 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.703/1.703, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3776/0.3776, allocations: 34.26 MB / 295.3 MB, free: 0.6602 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.708e-05/3.912e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.006038/0.006077, allocations: 1.923 MB / 379.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.008822, allocations: 1.036 MB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.008967, allocations: 0 / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.009372, allocations: 55.62 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.009892, allocations: 103.4 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.01029, allocations: 95.64 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.01065, allocations: 151.4 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.01078, allocations: 21.8 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.011, allocations: 75.75 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.01114, allocations: 39.83 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.01119, allocations: 8 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.01137, allocations: 51.91 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-05/0.01145, allocations: 27.92 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.573e-05/0.01155, allocations: 35.84 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.01194, allocations: 147.5 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01194, allocations: 0 / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01194, allocations: 0 / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.01195, allocations: 0 / 381.1 MB, free: 15.1 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.000935/0.01289, allocations: 0.5049 MB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.01293, allocations: 8.031 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.01304, allocations: 28.8 kB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.01337, allocations: 173.2 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.0134, allocations: 8.312 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.01342, allocations: 8.375 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.0137, allocations: 146.1 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01372, allocations: 3.938 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.01373, allocations: 0 / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.01374, allocations: 7.984 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.01389, allocations: 43.91 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008277/0.01472, allocations: 0.6106 MB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.01509, allocations: 79.16 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.0152, allocations: 39.67 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.01521, allocations: 0 / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.01545, allocations: 110.7 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.01545, allocations: 0 / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004536/0.0159, allocations: 137.5 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003954/0.0163, allocations: 55.39 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.01664, allocations: 267.1 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.01668, allocations: 33.7 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.01688, allocations: 166.8 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.01692, allocations: 35.77 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.01702, allocations: 43.31 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003355/0.01736, allocations: 0.504 MB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.01746, allocations: 27.98 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.01759, allocations: 70.42 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.01784, allocations: 106.4 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01784, allocations: 3.938 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003578/0.0182, allocations: 137.4 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.01822, allocations: 4 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.01823, allocations: 0 / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.01825, allocations: 4 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.01836, allocations: 19.98 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.01837, allocations: 4 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.932e-05/0.01845, allocations: 16.06 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.01846, allocations: 4 kB / 384.5 MB, free: 11.44 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.000159/0.01862, allocations: 176.5 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.01866, allocations: 15.91 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.01899, allocations: 127 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01899, allocations: 0 / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.019, allocations: 7.938 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.019, allocations: 0 / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.01922, allocations: 172.5 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01923, allocations: 4 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.485e-05/0.01931, allocations: 15.98 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01931, allocations: 0 / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.01933, allocations: 4 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01933, allocations: 4 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.01933, allocations: 3.984 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.01976, allocations: 196.7 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.0198, allocations: 11.91 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.01982, allocations: 0 / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.099e-05/0.01988, allocations: 8 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.01993, allocations: 15.95 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.01995, allocations: 4 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.02014, allocations: 187.1 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02014, allocations: 0 / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.02041, allocations: 31.92 kB / 385.5 MB, free: 10.4 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.00296/0.02337, allocations: 441.7 kB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.02366, allocations: 83.59 kB / 386 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.02367, allocations: 256 / 386 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.02379, allocations: 47.8 kB / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.02413, allocations: 40.03 kB / 386.1 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000669/0.0248, allocations: 265.9 kB / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.02493, allocations: 106 kB / 386.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.288e-05/0.02501, allocations: 21.48 kB / 386.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.02506, allocations: 16.5 kB / 386.5 MB, free: 9.512 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02506, allocations: 0 / 386.5 MB, free: 9.512 MB / 362.7 MB Notification: Performance of Templates: time 0.006507/0.03157, allocations: 2.052 MB / 388.5 MB, free: 7.492 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.170226578949951]