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.0014/0.0014, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001509/0.001509, allocations: 208 kB / 23.72 MB, free: 4.391 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 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.2543/0.2543, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 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 0.002075/0.002075, allocations: 71.83 kB / 0.4966 GB, free: 7.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4077, allocations: 66.03 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003882/0.4116, allocations: 1.902 MB / 0.563 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.4136, allocations: 1.01 MB / 0.564 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.4138, allocations: 7.938 kB / 0.564 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.4142, allocations: 43.7 kB / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.4146, allocations: 103.5 kB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.4148, allocations: 95.72 kB / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.4151, allocations: 147.5 kB / 0.5644 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.4153, allocations: 21.39 kB / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.4154, allocations: 63.7 kB / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.4155, allocations: 43.72 kB / 0.5645 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.4155, allocations: 8 kB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.4156, allocations: 47.98 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.4157, allocations: 39.78 kB / 0.5646 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.4158, allocations: 39.73 kB / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.4161, allocations: 146.1 kB / 0.5647 GB, free: 440 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4161, allocations: 8 kB / 0.5648 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4161, allocations: 0 / 0.5648 GB, free: 432 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.4162, allocations: 0 / 0.5648 GB, free: 432 kB / 398.1 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.0008343/0.417, allocations: 415 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.417, allocations: 12.03 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.4171, allocations: 12.84 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.4175, allocations: 175 kB / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.4175, allocations: 384 / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.4175, allocations: 16.12 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.4178, allocations: 136.7 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.4178, allocations: 7.938 kB / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4178, allocations: 4 kB / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4178, allocations: 0 / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.418, allocations: 47.95 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.4186, allocations: 452.7 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.419, allocations: 90.59 kB / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.4191, allocations: 40.81 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.4191, allocations: 4 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.4193, allocations: 109 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.4193, allocations: 0 / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004572/0.4198, allocations: 145.5 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.4198, allocations: 55.41 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.4201, allocations: 219 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.4201, allocations: 29.7 kB / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.4202, allocations: 112.1 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.4202, allocations: 39.72 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.4203, allocations: 29.7 kB / 0.5668 GB, free: 14.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.4205, allocations: 322.8 kB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.622e-05/0.4206, allocations: 31.92 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.4207, allocations: 68.27 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.4209, allocations: 100.2 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4209, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003136/0.4212, allocations: 137.4 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4213, allocations: 8 kB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4213, allocations: 0 / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.4213, allocations: 0.5938 kB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.4214, allocations: 31.92 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.4214, allocations: 3.938 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/0.4215, allocations: 19.95 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.4215, allocations: 4 kB / 0.5675 GB, free: 13.36 MB / 414.1 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.0001429/0.4216, allocations: 136.4 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.4217, allocations: 15.91 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.422, allocations: 131 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.422, allocations: 4 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.422, allocations: 7.938 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.422, allocations: 3.938 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.4222, allocations: 145.3 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4222, allocations: 0 / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.4223, allocations: 19.92 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4223, allocations: 0 / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.4223, allocations: 0 / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.036e-06/0.4223, allocations: 4 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4223, allocations: 0 / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.4228, allocations: 204.8 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.4228, allocations: 11.91 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.4228, allocations: 7.984 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.4229, allocations: 4 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.4229, allocations: 7.984 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.423, allocations: 7.938 kB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.4231, allocations: 143.2 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4231, allocations: 0 / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.4234, allocations: 35.92 kB / 0.5684 GB, free: 12.43 MB / 414.1 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.001808/0.4252, allocations: 440.5 kB / 0.5688 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.4255, allocations: 79.83 kB / 0.5689 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4255, allocations: 4 kB / 0.5689 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.4256, allocations: 35.92 kB / 0.5689 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.4259, allocations: 42.66 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.4265, allocations: 283.6 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.4267, allocations: 109.8 kB / 0.5693 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.175e-05/0.4267, allocations: 25.39 kB / 0.5693 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.4268, allocations: 19.42 kB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4268, allocations: 0 / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Templates: time 0.006367/0.4331, allocations: 2.113 MB / 0.5714 GB, free: 9.457 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.425062188878655]