Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.3 MB / 258 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.89 MB / 361.3 MB, free: 4.578 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 87.8 kB / 0.4971 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3517, allocations: 66.02 MB / 0.5616 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003445/0.3552, allocations: 1.744 MB / 0.5633 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3571, allocations: 1.045 MB / 0.5643 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.3572, allocations: 7.875 kB / 0.5643 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.3576, allocations: 43.77 kB / 0.5644 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.3579, allocations: 99.53 kB / 0.5645 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.3581, allocations: 75.73 kB / 0.5645 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.3584, allocations: 103.7 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3585, allocations: 12 kB / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3586, allocations: 51.72 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.3587, allocations: 31.84 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3587, allocations: 4 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3588, allocations: 43.92 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.3589, allocations: 19.92 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.3589, allocations: 35.73 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.3592, allocations: 122 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3592, allocations: 3.938 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3592, allocations: 0 / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.3592, allocations: 4 kB / 0.565 GB, free: 1.195 MB / 398.1 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.0005744/0.3598, allocations: 345.6 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3598, allocations: 8.031 kB / 0.5653 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.3598, allocations: 12.89 kB / 0.5653 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.3601, allocations: 158.9 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3601, allocations: 4.375 kB / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3602, allocations: 384 / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3603, allocations: 57.98 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3604, allocations: 4 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3604, allocations: 7.984 kB / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3604, allocations: 0 / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.845e-05/0.3605, allocations: 19.98 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.3609, allocations: 267.8 kB / 0.5658 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.361, allocations: 50.67 kB / 0.5658 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.3611, allocations: 20.86 kB / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3611, allocations: 4 kB / 0.5659 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.3613, allocations: 71.31 kB / 0.5659 GB, free: 60 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3613, allocations: 0 / 0.5659 GB, free: 60 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005824/0.3619, allocations: 169.4 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3619, allocations: 63.28 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3621, allocations: 194.3 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3621, allocations: 33.7 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.3622, allocations: 104.1 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.3622, allocations: 27.78 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.3623, allocations: 17.72 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3624, allocations: 330.8 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.3625, allocations: 19.98 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/0.3626, allocations: 41.64 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3627, allocations: 65.64 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3627, allocations: 0 / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001831/0.3629, allocations: 97.58 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3629, allocations: 8 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3629, allocations: 0 / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3629, allocations: 0 / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.83e-05/0.363, allocations: 23.95 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.363, allocations: 4.156 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.363, allocations: 4.375 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3631, allocations: 4 kB / 0.5671 GB, free: 14.8 MB / 414.1 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.0001166/0.3632, allocations: 131.1 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3632, allocations: 15.91 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.3635, allocations: 115 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3635, allocations: 0 / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3635, allocations: 8 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3635, allocations: 0 / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.3639, allocations: 366.3 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3639, allocations: 0 / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.364, allocations: 11.98 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.364, allocations: 4 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.364, allocations: 4 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.364, allocations: 3.938 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.364, allocations: 0 / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.3642, allocations: 204.3 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.3642, allocations: 7.891 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.3643, allocations: 11.94 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.3643, allocations: 7.922 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.3644, allocations: 4 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3644, allocations: 7.984 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.3645, allocations: 152.2 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3645, allocations: 0 / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.3648, allocations: 27.92 kB / 0.5681 GB, free: 13.65 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.001614/0.3664, allocations: 454.3 kB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.3665, allocations: 59.89 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3665, allocations: 0 / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.3666, allocations: 24.14 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.3669, allocations: 35.47 kB / 0.5687 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.3674, allocations: 234.8 kB / 0.5689 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3677, allocations: 0.7234 MB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.793e-05/0.3678, allocations: 8.984 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.3678, allocations: 19.42 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3678, allocations: 0 / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of Templates: time 0.004759/0.3726, allocations: 1.768 MB / 0.5714 GB, free: 10.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.094689376652241]