Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001239/0.001239, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00143/0.00143, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.393/1.393, allocations: 230.5 MB / 258.2 MB, free: 8 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.2211/0.2211, allocations: 46.95 MB / 361.6 MB, free: 3.992 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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 67.89 kB / 0.497 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3335, allocations: 66.08 MB / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003296/0.3368, allocations: 1.878 MB / 0.5633 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3387, allocations: 1.065 MB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.3388, allocations: 4 kB / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.3391, allocations: 163.5 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.3396, allocations: 191.2 kB / 0.5647 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.3398, allocations: 115.7 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.3401, allocations: 247.3 kB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3403, allocations: 15.8 kB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.3404, allocations: 115.5 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3406, allocations: 143.5 kB / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.3406, allocations: 12 kB / 0.5653 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.3408, allocations: 71.91 kB / 0.5654 GB, free: 20 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3409, allocations: 55.77 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.3409, allocations: 63.48 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.3413, allocations: 226.9 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3413, allocations: 3.938 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3413, allocations: 0 / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3413, allocations: 4 kB / 0.5657 GB, free: 15.67 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006903/0.342, allocations: 476.6 kB / 0.5662 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.342, allocations: 12.03 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.457e-05/0.342, allocations: 8.125 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.342, allocations: 42.73 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.3421, allocations: 28.75 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.3425, allocations: 210.6 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3425, allocations: 4.375 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.3425, allocations: 8.375 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.3428, allocations: 125.6 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3428, allocations: 4 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3428, allocations: 0 / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3428, allocations: 8 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3429, allocations: 47.91 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.3435, allocations: 431.9 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.3439, allocations: 121.2 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.344, allocations: 41.77 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.344, allocations: 4 kB / 0.5673 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.3443, allocations: 133 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3443, allocations: 0 / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001325/0.3456, allocations: 0.5012 MB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.3456, allocations: 81.11 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.3461, allocations: 384.5 kB / 0.5683 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.3461, allocations: 33.7 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3462, allocations: 144.5 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.3463, allocations: 79.38 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.3463, allocations: 49.64 kB / 0.5686 GB, free: 12.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3465, allocations: 342.8 kB / 0.5689 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3467, allocations: 59.97 kB / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3468, allocations: 87.41 kB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.3471, allocations: 163.5 kB / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.3471, allocations: 0 / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004193/0.3475, allocations: 245.3 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3475, allocations: 7.938 kB / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3475, allocations: 4 kB / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3476, allocations: 0 / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.3477, allocations: 47.91 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3477, allocations: 0 / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.3478, allocations: 11.94 kB / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.3478, allocations: 16 kB / 0.5695 GB, free: 11.52 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001612/0.348, allocations: 161.7 kB / 0.5697 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.348, allocations: 35.75 kB / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.3486, allocations: 280 kB / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3486, allocations: 7.984 kB / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3486, allocations: 0 / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3486, allocations: 0 / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009937/0.3496, allocations: 0.6912 MB / 0.5707 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3496, allocations: 4 kB / 0.5707 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.531e-05/0.3497, allocations: 28.11 kB / 0.5707 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3497, allocations: 8 kB / 0.5707 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.3497, allocations: 11.98 kB / 0.5707 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3497, allocations: 7.938 kB / 0.5707 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3497, allocations: 0 / 0.5707 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.3503, allocations: 445.8 kB / 0.5712 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.3503, allocations: 19.86 kB / 0.5712 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.3503, allocations: 11.94 kB / 0.5712 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.3505, allocations: 11.98 kB / 0.5712 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.3506, allocations: 19.91 kB / 0.5712 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.3506, allocations: 20 kB / 0.5712 GB, free: 9.676 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002953/0.3509, allocations: 283 kB / 0.5715 GB, free: 9.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3509, allocations: 0 / 0.5715 GB, free: 9.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003529/0.3512, allocations: 51.89 kB / 0.5716 GB, free: 9.348 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.002845/0.3541, allocations: 1.413 MB / 0.5729 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.3544, allocations: 156.5 kB / 0.5731 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3544, allocations: 0 / 0.5731 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.3546, allocations: 83.83 kB / 0.5732 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.3552, allocations: 72.78 kB / 0.5732 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.3586, allocations: 2.736 MB / 0.5759 GB, free: 4.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.3588, allocations: 153.5 kB / 0.5761 GB, free: 4.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.3589, allocations: 45.91 kB / 0.5761 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.359, allocations: 87.41 kB / 0.5762 GB, free: 4.625 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.359, allocations: 0 / 0.5762 GB, free: 4.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.3867, allocations: 6.643 MB / 0.5827 GB, free: 14.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.37, allocations: 10.89 kB / 0.5827 GB, free: 14.03 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.348759511020035]