Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001424/0.001424, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001418/0.001418, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2417/0.2417, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.91 kB / 0.4962 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00338/0.3498, allocations: 1.798 MB / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.3528, allocations: 1.724 MB / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.3529, allocations: 4 kB / 0.5641 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.3532, allocations: 59.62 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004755/0.3537, allocations: 139.4 kB / 0.5643 GB, free: 500 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.354, allocations: 107.7 kB / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.3543, allocations: 211.2 kB / 0.5646 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.783e-05/0.3543, allocations: 5.812 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3545, allocations: 87.62 kB / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.3547, allocations: 75.61 kB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.349e-05/0.3547, allocations: 12.05 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.3549, allocations: 107.9 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/0.355, allocations: 43.78 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.571e-05/0.3551, allocations: 51.66 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.3555, allocations: 228.9 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3555, allocations: 0 / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3555, allocations: 0 / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3555, allocations: 0 / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007268/0.3562, allocations: 432.8 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3562, allocations: 12.03 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.3563, allocations: 30.75 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.3563, allocations: 20.84 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.3567, allocations: 190.2 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3567, allocations: 4.359 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.3568, allocations: 7.938 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.3571, allocations: 156.4 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3571, allocations: 0 / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3571, allocations: 4 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3571, allocations: 0 / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.3572, allocations: 35.97 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.3575, allocations: 181.7 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.3578, allocations: 109.1 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.3579, allocations: 41.64 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3579, allocations: 0 / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.3582, allocations: 117 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3582, allocations: 0 / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005011/0.3587, allocations: 181.8 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.3588, allocations: 132.5 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.3591, allocations: 244.1 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.3592, allocations: 29.7 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3593, allocations: 116.1 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.3593, allocations: 35.72 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.3594, allocations: 33.7 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3595, allocations: 326.8 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-05/0.3596, allocations: 28.11 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.3598, allocations: 140.5 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.36, allocations: 95.34 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.36, allocations: 7.938 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003048/0.3603, allocations: 133.5 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3603, allocations: 8 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3603, allocations: 0 / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3603, allocations: 0 / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3605, allocations: 32.02 kB / 0.5679 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3605, allocations: 3.938 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.549e-05/0.3606, allocations: 11.95 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3606, allocations: 8 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001424/0.3607, allocations: 130.3 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.3608, allocations: 19.91 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.3611, allocations: 162.8 kB / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3611, allocations: 64 / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/0.3612, allocations: 4 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3612, allocations: 4 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.3614, allocations: 192.5 kB / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3614, allocations: 0 / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.3614, allocations: 11.98 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3614, allocations: 0 / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3614, allocations: 8 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3614, allocations: 3.938 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3614, allocations: 3.938 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.3618, allocations: 185.7 kB / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.3618, allocations: 27.84 kB / 0.5687 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.3619, allocations: 4 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.3619, allocations: 8 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.362, allocations: 7.984 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.362, allocations: 11.98 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.3622, allocations: 181.8 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3622, allocations: 0 / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.3626, allocations: 55.86 kB / 0.5689 GB, free: 11.34 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002642/0.3652, allocations: 1.159 MB / 0.5701 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.3655, allocations: 83.91 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3655, allocations: 0 / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3657, allocations: 44.28 kB / 0.5702 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.3662, allocations: 72.67 kB / 0.5703 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.3699, allocations: 1.912 MB / 0.5721 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.3701, allocations: 107.6 kB / 0.5722 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.3703, allocations: 33.45 kB / 0.5723 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.3704, allocations: 59.41 kB / 0.5723 GB, free: 7.953 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3704, allocations: 0 / 0.5723 GB, free: 7.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.4077, allocations: 6.222 MB / 0.5784 GB, free: 1.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.88, allocations: 10.19 kB / 0.5784 GB, free: 1.785 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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: 14.933926363941282]