Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001242/0.001242, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001462/0.001462, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2309/0.2309, allocations: 46.96 MB / 360.9 MB, free: 4.012 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.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 75.81 kB / 0.4962 GB, free: 7.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 66.02 MB / 0.5607 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003553/0.3272, allocations: 1.733 MB / 0.5624 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3291, allocations: 0.9781 MB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.613e-05/0.3292, allocations: 0 / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.3296, allocations: 55.75 kB / 0.5634 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.33, allocations: 103.5 kB / 0.5635 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3302, allocations: 79.72 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.3304, allocations: 131.6 kB / 0.5637 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3306, allocations: 17.8 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3307, allocations: 55.77 kB / 0.5637 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3308, allocations: 47.83 kB / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3308, allocations: 8 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3309, allocations: 67.91 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.331, allocations: 27.86 kB / 0.5639 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.107e-05/0.3311, allocations: 43.78 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.3313, allocations: 143.4 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3313, allocations: 0 / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3313, allocations: 0 / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3313, allocations: 0 / 0.5641 GB, free: 0.707 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000657/0.332, allocations: 377.2 kB / 0.5644 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.332, allocations: 8.031 kB / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.3321, allocations: 38.75 kB / 0.5645 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.3321, allocations: 12.84 kB / 0.5645 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.3324, allocations: 166.3 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.3324, allocations: 4.375 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3325, allocations: 11.94 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.3327, allocations: 77.67 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3327, allocations: 0 / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3327, allocations: 0 / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3327, allocations: 0 / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.3328, allocations: 59.88 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.3333, allocations: 291.8 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.3336, allocations: 90.56 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/0.3337, allocations: 36.84 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.3337, allocations: 0 / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.3339, allocations: 83.38 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 3.306e-06/0.3339, allocations: 3.984 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001024/0.3349, allocations: 321.1 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.3349, allocations: 59.34 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.3352, allocations: 210.7 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.3352, allocations: 29.7 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.24e-05/0.3353, allocations: 112.3 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.3353, allocations: 43.64 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.3354, allocations: 29.72 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3355, allocations: 326.8 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.3356, allocations: 39.98 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.3358, allocations: 65.62 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.336, allocations: 97.7 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.336, allocations: 4.781 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002922/0.3363, allocations: 169.2 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3363, allocations: 4 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3363, allocations: 0 / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3363, allocations: 4 kB / 0.5667 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3364, allocations: 31.92 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.3364, allocations: 0 / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.3365, allocations: 4 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3365, allocations: 4 kB / 0.5667 GB, free: 13.74 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 (15): * Single equations (assignments): 15 * 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.0001171/0.3366, allocations: 133.7 kB / 0.5669 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.3366, allocations: 19.91 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.337, allocations: 195 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.337, allocations: 7.938 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.337, allocations: 0 / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3371, allocations: 0 / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.3377, allocations: 487.2 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3377, allocations: 0 / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.3378, allocations: 23.98 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3378, allocations: 0 / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.3378, allocations: 8 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3378, allocations: 4.062 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3378, allocations: 3.938 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.3382, allocations: 284 kB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.3382, allocations: 15.91 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.3383, allocations: 4 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.3383, allocations: 8 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.3384, allocations: 15.97 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.3384, allocations: 11.94 kB / 0.5679 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.3385, allocations: 151.2 kB / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3385, allocations: 0 / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.3388, allocations: 43.92 kB / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002744/0.3416, allocations: 1.255 MB / 0.5693 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.3419, allocations: 107.9 kB / 0.5694 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3419, allocations: 0 / 0.5694 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.342, allocations: 59.91 kB / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3424, allocations: 32.55 kB / 0.5695 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.3446, allocations: 1.907 MB / 0.5714 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.3447, allocations: 102.2 kB / 0.5715 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.002e-05/0.3448, allocations: 33.39 kB / 0.5715 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.3449, allocations: 43.42 kB / 0.5715 GB, free: 8.82 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3449, allocations: 0 / 0.5715 GB, free: 8.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.3747, allocations: 4.91 MB / 0.5763 GB, free: 3.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.01, allocations: 3.938 kB / 0.5763 GB, free: 3.973 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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: 13.960451407998335]