Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.001581/0.001581, 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.002357/0.002357, 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.555/1.555, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.23/0.23, allocations: 46.93 MB / 360.8 MB, free: 4.172 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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 87.84 kB / 0.4963 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3272, allocations: 66.08 MB / 0.5608 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003696/0.3309, allocations: 2.286 MB / 0.563 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.3334, allocations: 1.348 MB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.3336, allocations: 11.88 kB / 0.5644 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.334, allocations: 139.3 kB / 0.5645 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005725/0.3346, allocations: 266.8 kB / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.335, allocations: 187.6 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.3355, allocations: 474.5 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3357, allocations: 47.08 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.3361, allocations: 350.9 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.3364, allocations: 171.1 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.3364, allocations: 16 kB / 0.566 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.3366, allocations: 79.97 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.3367, allocations: 159.3 kB / 0.5662 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.3369, allocations: 202.3 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.3375, allocations: 485.4 kB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3375, allocations: 0 / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3375, allocations: 0 / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3375, allocations: 0 / 0.5668 GB, free: 14.09 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.001209/0.3387, allocations: 0.8418 MB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3388, allocations: 12.03 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/0.3388, allocations: 46.73 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3389, allocations: 76.45 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.3395, allocations: 381.6 kB / 0.5682 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3395, allocations: 8.375 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.3396, allocations: 20.33 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.34, allocations: 201.1 kB / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.34, allocations: 3.938 kB / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.34, allocations: 4 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.34, allocations: 4 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.3403, allocations: 107.8 kB / 0.5685 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009948/0.3413, allocations: 0.7929 MB / 0.5693 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/0.3419, allocations: 234.5 kB / 0.5695 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.3421, allocations: 83.52 kB / 0.5696 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.3421, allocations: 7.938 kB / 0.5696 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/0.3425, allocations: 200.5 kB / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.3425, allocations: 3.938 kB / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002533/0.345, allocations: 1.198 MB / 0.5709 GB, free: 9.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.3452, allocations: 140.4 kB / 0.5711 GB, free: 9.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3462, allocations: 0.9614 MB / 0.572 GB, free: 8.527 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.3463, allocations: 37.7 kB / 0.572 GB, free: 8.484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.3465, allocations: 269 kB / 0.5723 GB, free: 8.219 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.3466, allocations: 146.8 kB / 0.5724 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3467, allocations: 86.08 kB / 0.5725 GB, free: 7.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3469, allocations: 325.9 kB / 0.5728 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.3471, allocations: 104.8 kB / 0.5729 GB, free: 7.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.3474, allocations: 187.2 kB / 0.5731 GB, free: 7.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.3479, allocations: 319 kB / 0.5734 GB, free: 7.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3479, allocations: 4 kB / 0.5734 GB, free: 7.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007632/0.3487, allocations: 448.8 kB / 0.5738 GB, free: 6.566 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3487, allocations: 6.344 kB / 0.5739 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3487, allocations: 4 kB / 0.5739 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3487, allocations: 4 kB / 0.5739 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.349, allocations: 87.89 kB / 0.5739 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.349, allocations: 8.062 kB / 0.574 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.3491, allocations: 20 kB / 0.574 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.3492, allocations: 23.92 kB / 0.574 GB, free: 6.418 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.0002828/0.3495, allocations: 256.1 kB / 0.5742 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.3496, allocations: 75.48 kB / 0.5743 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009635/0.3505, allocations: 0.5084 MB / 0.5748 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3505, allocations: 8 kB / 0.5748 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3505, allocations: 8 kB / 0.5748 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3505, allocations: 0 / 0.5748 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.3523, allocations: 1.302 MB / 0.5761 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3523, allocations: 4 kB / 0.5761 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.3524, allocations: 63.91 kB / 0.5762 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3525, allocations: 4 kB / 0.5762 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.3525, allocations: 15.98 kB / 0.5762 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.3525, allocations: 7.938 kB / 0.5762 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3525, allocations: 4.25 kB / 0.5762 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/0.3534, allocations: 0.8055 MB / 0.577 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.3536, allocations: 107.4 kB / 0.5771 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.3537, allocations: 16 kB / 0.5771 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.354, allocations: 15.98 kB / 0.5771 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/0.354, allocations: 51.81 kB / 0.5772 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.3541, allocations: 23.98 kB / 0.5772 GB, free: 3.008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007899/0.3549, allocations: 0.6982 MB / 0.5779 GB, free: 2.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3549, allocations: 0 / 0.5779 GB, free: 2.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005377/0.3554, allocations: 95.86 kB / 0.578 GB, free: 2.223 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 (44): * Single equations (assignments): 36 * 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.003189/0.3586, allocations: 1.765 MB / 0.5797 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.3593, allocations: 299.5 kB / 0.58 GB, free: 308 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.3593, allocations: 4 kB / 0.58 GB, free: 304 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.3595, allocations: 148.3 kB / 0.5801 GB, free: 156 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000993/0.3605, allocations: 118.7 kB / 0.5802 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/0.3674, allocations: 5.135 MB / 0.5852 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.368, allocations: 0.9201 MB / 0.5861 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.3682, allocations: 71.31 kB / 0.5862 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.3685, allocations: 211.4 kB / 0.5864 GB, free: 9.484 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3685, allocations: 4 kB / 0.5864 GB, free: 9.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04227/0.4108, allocations: 11.91 MB / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.51, allocations: 3.938 kB / 0.598 GB, free: 13.62 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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: 15.738156071165577]