Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.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.001928/0.001928, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002192/0.002192, allocations: 204.6 kB / 24.47 MB, free: 4.023 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.514/1.514, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2334/0.2334, allocations: 46.89 MB / 361.1 MB, free: 4.645 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-beta.om/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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 87.84 kB / 0.4968 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3469, allocations: 65.98 MB / 0.5613 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003827/0.3507, allocations: 1.955 MB / 0.5632 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.3529, allocations: 1.088 MB / 0.5642 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.3531, allocations: 8 kB / 0.5642 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.3535, allocations: 43.7 kB / 0.5643 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.354, allocations: 99.47 kB / 0.5644 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.3543, allocations: 99.64 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.3546, allocations: 147.5 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3547, allocations: 24.34 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.3548, allocations: 63.72 kB / 0.5647 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3549, allocations: 43.72 kB / 0.5647 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.3549, allocations: 12 kB / 0.5648 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3551, allocations: 47.97 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.3551, allocations: 31.84 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.3552, allocations: 51.62 kB / 0.5649 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.3555, allocations: 151.3 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3555, allocations: 4 kB / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3555, allocations: 0 / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3555, allocations: 0 / 0.565 GB, free: 1.133 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007378/0.3562, allocations: 496.1 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3563, allocations: 12.03 kB / 0.5655 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.3563, allocations: 16.84 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.3567, allocations: 232.9 kB / 0.5657 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3567, allocations: 4.375 kB / 0.5658 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.3568, allocations: 8.375 kB / 0.5658 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.357, allocations: 112.4 kB / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.357, allocations: 4 kB / 0.5659 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.357, allocations: 8 kB / 0.5659 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.357, allocations: 0 / 0.5659 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.3572, allocations: 43.97 kB / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.3579, allocations: 0.5049 MB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.3582, allocations: 86.55 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3583, allocations: 36.83 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3584, allocations: 7.984 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.3586, allocations: 87.36 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3586, allocations: 0 / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004284/0.359, allocations: 145.8 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3591, allocations: 51.41 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.3593, allocations: 199.2 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.3593, allocations: 37.62 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.3594, allocations: 120 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.3594, allocations: 31.75 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.3595, allocations: 33.64 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3597, allocations: 322.8 kB / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.54e-05/0.3597, allocations: 27.98 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3599, allocations: 64.27 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.3601, allocations: 100.2 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3601, allocations: 0 / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002885/0.3604, allocations: 141.5 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3604, allocations: 4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3604, allocations: 4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3604, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3605, allocations: 31.92 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3605, allocations: 0 / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/0.3606, allocations: 15.89 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3606, allocations: 8 kB / 0.5679 GB, free: 13.91 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.0001276/0.3607, allocations: 125.9 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.3608, allocations: 19.91 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.3611, allocations: 123 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3611, allocations: 4.188 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3611, allocations: 0 / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3611, allocations: 7.875 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.3613, allocations: 213.5 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3613, allocations: 0 / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.996e-05/0.3614, allocations: 11.98 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3614, allocations: 8 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3614, allocations: 0 / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3614, allocations: 3.938 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3614, allocations: 0 / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.3618, allocations: 180.9 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.3618, allocations: 93.03 kB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3619, allocations: 8 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.3619, allocations: 8.062 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.362, allocations: 7.922 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.362, allocations: 4 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.3621, allocations: 148.4 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3621, allocations: 0 / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3624, allocations: 27.92 kB / 0.5688 GB, free: 12.83 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 (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.001487/0.3639, allocations: 402.7 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.3641, allocations: 75.84 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3641, allocations: 192 / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3642, allocations: 43.84 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.3645, allocations: 45.03 kB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005946/0.3651, allocations: 287.3 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3655, allocations: 0.7164 MB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.526e-05/0.3656, allocations: 29.33 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.3656, allocations: 15.44 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3656, allocations: 0 / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.005684/0.3713, allocations: 1.927 MB / 0.5723 GB, free: 9.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.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.334008834324777]