Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001663/0.001663, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002227/0.002227, allocations: 214.3 kB / 23.75 MB, free: 4.672 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.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2303/0.2303, allocations: 46.92 MB / 360.8 MB, free: 4.203 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 75.88 kB / 0.4963 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3419, allocations: 66.07 MB / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003559/0.3455, allocations: 1.751 MB / 0.5625 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.3487, allocations: 1.746 MB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.3488, allocations: 0 / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.3492, allocations: 35.77 kB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004732/0.3497, allocations: 99.53 kB / 0.5643 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.35, allocations: 83.66 kB / 0.5644 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.3502, allocations: 103.8 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3503, allocations: 13.77 kB / 0.5645 GB, free: 460 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3504, allocations: 55.77 kB / 0.5646 GB, free: 404 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.3506, allocations: 47.77 kB / 0.5646 GB, free: 356 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3506, allocations: 4 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.3508, allocations: 107.9 kB / 0.5647 GB, free: 244 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.3509, allocations: 23.86 kB / 0.5648 GB, free: 220 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.3509, allocations: 31.8 kB / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.3512, allocations: 175.3 kB / 0.565 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3512, allocations: 0 / 0.565 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3512, allocations: 0 / 0.565 GB, free: 12 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3512, allocations: 0 / 0.565 GB, free: 12 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006175/0.3518, allocations: 345.5 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3519, allocations: 8.031 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/0.3519, allocations: 42.69 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.352, allocations: 16.83 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.3523, allocations: 150.9 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3524, allocations: 384 / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3524, allocations: 11.94 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.3526, allocations: 67.33 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3526, allocations: 0 / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3526, allocations: 7.984 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3526, allocations: 8 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.959e-05/0.3527, allocations: 19.92 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.3531, allocations: 259.9 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.3533, allocations: 54.67 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.107e-05/0.3534, allocations: 20.86 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.3534, allocations: 0 / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.3536, allocations: 71.33 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3536, allocations: 0 / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005857/0.3542, allocations: 173.4 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.3543, allocations: 77.11 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.3545, allocations: 170.4 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3545, allocations: 33.7 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.3545, allocations: 100.1 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.3546, allocations: 27.75 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.3546, allocations: 21.7 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3548, allocations: 322.8 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.3548, allocations: 20 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.3549, allocations: 42.55 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.355, allocations: 65.69 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.355, allocations: 0 / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001927/0.3552, allocations: 93.62 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3552, allocations: 14.28 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3552, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3552, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.3553, allocations: 12 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3553, allocations: 4.031 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.3554, allocations: 19.91 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3554, allocations: 4 kB / 0.5671 GB, free: 13.55 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.0001029/0.3555, allocations: 119.2 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3555, allocations: 7.953 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.3558, allocations: 118.3 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3558, allocations: 0 / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3558, allocations: 0 / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3558, allocations: 7.875 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.3563, allocations: 375 kB / 0.5677 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3563, allocations: 0 / 0.5677 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.3563, allocations: 15.98 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3563, allocations: 3.938 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3563, allocations: 0 / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3563, allocations: 4.078 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3563, allocations: 3.984 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.3566, allocations: 204.3 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.3566, allocations: 7.953 kB / 0.568 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.3566, allocations: 11.92 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.3567, allocations: 4 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.3568, allocations: 3.984 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3568, allocations: 4.188 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3569, allocations: 131.9 kB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3569, allocations: 7.938 kB / 0.5681 GB, free: 12.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.3572, allocations: 47.86 kB / 0.5682 GB, free: 12.41 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.002452/0.3597, allocations: 1.184 MB / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.3599, allocations: 55.92 kB / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3599, allocations: 0 / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.36, allocations: 27.98 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3603, allocations: 30.84 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.3622, allocations: 1.585 MB / 0.571 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3625, allocations: 0.7002 MB / 0.5717 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.079e-05/0.3626, allocations: 21.27 kB / 0.5717 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.3626, allocations: 39.42 kB / 0.5717 GB, free: 8.809 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3626, allocations: 0 / 0.5717 GB, free: 8.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.3959, allocations: 4.202 MB / 0.5758 GB, free: 4.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.57, allocations: 3.938 kB / 0.5758 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.670269201975316]