Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.00177/0.00177, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002188/0.002188, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2281/0.2281, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 87.88 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3377, allocations: 66.08 MB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003884/0.3416, allocations: 2.165 MB / 0.5629 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.3443, allocations: 1.268 MB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.3444, allocations: 7.938 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.3449, allocations: 119.4 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000616/0.3456, allocations: 254.9 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.346, allocations: 191.5 kB / 0.5647 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005934/0.3466, allocations: 466.6 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3467, allocations: 43.08 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003987/0.3471, allocations: 299.1 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.3474, allocations: 159.1 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.3474, allocations: 20 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3476, allocations: 79.92 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.3477, allocations: 135.5 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3479, allocations: 138.8 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.3485, allocations: 457.6 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3485, allocations: 0 / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3485, allocations: 3.938 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3485, allocations: 0 / 0.5664 GB, free: 14.23 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001208/0.3497, allocations: 0.7682 MB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3497, allocations: 12.03 kB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/0.3498, allocations: 50.73 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.3499, allocations: 64.52 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.3505, allocations: 339.2 kB / 0.5676 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.3505, allocations: 12.38 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.3506, allocations: 20.31 kB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.351, allocations: 193.1 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.351, allocations: 8 kB / 0.5678 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.351, allocations: 3.984 kB / 0.5678 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.351, allocations: 4 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.3513, allocations: 107.8 kB / 0.5679 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.3524, allocations: 0.7578 MB / 0.5687 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006761/0.353, allocations: 250.4 kB / 0.5689 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.3532, allocations: 83.53 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3533, allocations: 11.98 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.3537, allocations: 204.2 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.3537, allocations: 0 / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002586/0.3563, allocations: 1.176 MB / 0.5703 GB, free: 9.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/0.3564, allocations: 132.5 kB / 0.5705 GB, free: 9.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000965/0.3573, allocations: 0.8165 MB / 0.5713 GB, free: 8.984 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.3574, allocations: 37.7 kB / 0.5713 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3576, allocations: 245 kB / 0.5715 GB, free: 8.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.3577, allocations: 142.8 kB / 0.5717 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.3578, allocations: 78.08 kB / 0.5717 GB, free: 8.473 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.3581, allocations: 382.7 kB / 0.5721 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.3583, allocations: 116.8 kB / 0.5722 GB, free: 7.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.3586, allocations: 199 kB / 0.5724 GB, free: 7.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.3592, allocations: 319.1 kB / 0.5727 GB, free: 7.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3592, allocations: 0 / 0.5727 GB, free: 7.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007876/0.36, allocations: 461.2 kB / 0.5731 GB, free: 6.969 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.36, allocations: 4 kB / 0.5731 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.36, allocations: 4 kB / 0.5732 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.36, allocations: 4 kB / 0.5732 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.3603, allocations: 87.89 kB / 0.5732 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3603, allocations: 4 kB / 0.5732 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3605, allocations: 23.92 kB / 0.5733 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.3605, allocations: 23.88 kB / 0.5733 GB, free: 6.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000267/0.3608, allocations: 236.2 kB / 0.5735 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-05/0.3609, allocations: 71.53 kB / 0.5736 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.3619, allocations: 0.5257 MB / 0.5741 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.362, allocations: 8 kB / 0.5741 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.362, allocations: 0 / 0.5741 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.362, allocations: 0 / 0.5741 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.364, allocations: 1.294 MB / 0.5754 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.364, allocations: 4 kB / 0.5754 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.3642, allocations: 63.91 kB / 0.5754 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.3642, allocations: 8 kB / 0.5754 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.3642, allocations: 15.98 kB / 0.5755 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.3642, allocations: 7.938 kB / 0.5755 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3642, allocations: 4 kB / 0.5755 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3652, allocations: 0.8324 MB / 0.5763 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.3654, allocations: 107.4 kB / 0.5764 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.3655, allocations: 16 kB / 0.5764 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.3658, allocations: 23.92 kB / 0.5764 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.3659, allocations: 43.81 kB / 0.5765 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.3659, allocations: 23.98 kB / 0.5765 GB, free: 3.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006782/0.3666, allocations: 0.5967 MB / 0.5771 GB, free: 2.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3666, allocations: 0 / 0.5771 GB, free: 2.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005159/0.3671, allocations: 91.92 kB / 0.5772 GB, free: 2.715 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003753/0.3709, allocations: 1.825 MB / 0.5789 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008169/0.3717, allocations: 319.3 kB / 0.5792 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.3717, allocations: 256 / 0.5792 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.372, allocations: 159.7 kB / 0.5794 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3731, allocations: 125.3 kB / 0.5795 GB, free: 472 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007291/0.3804, allocations: 4.809 MB / 0.5842 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3807, allocations: 288.1 kB / 0.5845 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.381, allocations: 79.25 kB / 0.5846 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.3813, allocations: 203.3 kB / 0.5848 GB, free: 10.89 MB / 430.1 MB Notification: Performance of SimCode: time 1.623e-06/0.3813, allocations: 0 / 0.5848 GB, free: 10.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04311/0.4244, allocations: 11.96 MB / 0.5964 GB, free: 14.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.65, allocations: 7.922 kB / 0.5964 GB, free: 14.98 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.705234716180712]