Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.0009938/0.0009938, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.000973/0.000973, allocations: 165 kB / 24.56 MB, free: 4 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.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.617 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.2599/0.2599, allocations: 34.26 MB / 295.7 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.907e-05, allocations: 2.312 kB / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004145/0.004174, allocations: 1.993 MB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.00653, allocations: 1.177 MB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.006672, allocations: 3.938 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008055/0.007477, allocations: 207.2 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005837/0.008061, allocations: 211.1 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.0086, allocations: 167.4 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.009001, allocations: 271.1 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.009133, allocations: 20.58 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.00939, allocations: 139.6 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.009567, allocations: 103.8 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.0096, allocations: 8 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.009789, allocations: 71.83 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.009899, allocations: 55.77 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.111e-05/0.00999, allocations: 47.8 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.01043, allocations: 195.2 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.01043, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01044, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.01044, allocations: 0 / 382.8 MB, free: 13.86 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001012/0.01146, allocations: 0.5788 MB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.01152, allocations: 11.97 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.01164, allocations: 32.75 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.01208, allocations: 245.3 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.01211, allocations: 8.375 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.01213, allocations: 4.375 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.01237, allocations: 85.58 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.01238, allocations: 3.938 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.0124, allocations: 4 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.01241, allocations: 0 / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.528e-05/0.01249, allocations: 27.91 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.01309, allocations: 359.4 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.01329, allocations: 118.1 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.01334, allocations: 35.36 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.01335, allocations: 0 / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.01351, allocations: 116.3 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.01352, allocations: 0 / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002913/0.01381, allocations: 145.9 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.01385, allocations: 89.03 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.0141, allocations: 342.3 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.01412, allocations: 33.69 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.01422, allocations: 190.8 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.01425, allocations: 35.84 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.0143, allocations: 39.36 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.01445, allocations: 0.5079 MB / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/0.01449, allocations: 15.98 kB / 385.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/0.01457, allocations: 95.42 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.454e-05/0.01466, allocations: 78.72 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01467, allocations: 3.938 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001793/0.01485, allocations: 133.4 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.01486, allocations: 4 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01487, allocations: 0 / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.01489, allocations: 7.984 kB / 386.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.01498, allocations: 16 kB / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01499, allocations: 0 / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.01505, allocations: 23.88 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.01506, allocations: 8.062 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000106/0.01516, allocations: 168.5 kB / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.0152, allocations: 35.84 kB / 386.3 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.01542, allocations: 143.7 kB / 386.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01542, allocations: 0 / 386.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.01542, allocations: 4 kB / 386.5 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01543, allocations: 0 / 386.5 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.01559, allocations: 204.5 kB / 386.7 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.01559, allocations: 3.938 kB / 386.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.01563, allocations: 15.98 kB / 386.7 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01563, allocations: 4 kB / 386.7 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.01564, allocations: 0 / 386.7 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.01564, allocations: 4 kB / 386.7 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01565, allocations: 0 / 386.7 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.01584, allocations: 187.9 kB / 386.9 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.01587, allocations: 27.69 kB / 386.9 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.01589, allocations: 11.98 kB / 386.9 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.01593, allocations: 4 kB / 386.9 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.01599, allocations: 15.92 kB / 386.9 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.016, allocations: 7.984 kB / 386.9 MB, free: 9.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.01616, allocations: 243 kB / 387.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01616, allocations: 0 / 387.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.01636, allocations: 35.98 kB / 387.2 MB, free: 9.039 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009456/0.01731, allocations: 394.5 kB / 387.6 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.01748, allocations: 71.59 kB / 387.7 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01748, allocations: 0 / 387.7 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.702e-05/0.01754, allocations: 47.59 kB / 387.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.01782, allocations: 80.25 kB / 387.8 MB, free: 8.594 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.01834, allocations: 370.4 kB / 388.1 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.241e-05/0.0184, allocations: 84.09 kB / 388.2 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.417e-05/0.01846, allocations: 34.08 kB / 388.3 MB, free: 8.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.01851, allocations: 32.48 kB / 388.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of SimCode: time 1.021e-06/0.01851, allocations: 0 / 388.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of Templates: time 0.005892/0.0244, allocations: 3.465 MB / 391.8 MB, free: 4.613 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.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.2232219502329826]