Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001431/0.001431, allocations: 110 kB / 20.43 MB, free: 1.453 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.001858/0.001858, allocations: 213.5 kB / 23.74 MB, free: 4.66 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2362/0.2362, allocations: 46.92 MB / 360.8 MB, free: 4.164 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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 83.88 kB / 0.4963 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3275, allocations: 66.09 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00456/0.3321, allocations: 1.745 MB / 0.5625 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3341, allocations: 1.041 MB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.3343, allocations: 0 / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.3346, allocations: 43.77 kB / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.3351, allocations: 103.5 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.3354, allocations: 75.73 kB / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.3357, allocations: 115.6 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3358, allocations: 5.828 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3359, allocations: 47.78 kB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.336, allocations: 31.84 kB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.3361, allocations: 4 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.3362, allocations: 43.92 kB / 0.564 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.906e-05/0.3363, allocations: 23.92 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.3364, allocations: 39.67 kB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.3367, allocations: 127.5 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3367, allocations: 0 / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3367, allocations: 0 / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.3367, allocations: 0 / 0.5642 GB, free: 0.8086 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007198/0.3374, allocations: 349.5 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3375, allocations: 15.91 kB / 0.5645 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.3375, allocations: 38.75 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.3376, allocations: 8.891 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.338, allocations: 166.3 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.338, allocations: 4.359 kB / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.338, allocations: 4.375 kB / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.3382, allocations: 57.8 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3382, allocations: 0 / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3382, allocations: 3.984 kB / 0.5648 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3382, allocations: 4 kB / 0.5648 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.015e-05/0.3383, allocations: 19.92 kB / 0.5648 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.3388, allocations: 267.9 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.339, allocations: 46.69 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.339, allocations: 20.84 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.339, allocations: 4 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.3392, allocations: 71.33 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.3392, allocations: 0 / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006132/0.3398, allocations: 181.3 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3399, allocations: 55.41 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.3401, allocations: 214.2 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.3401, allocations: 29.7 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.3402, allocations: 108.1 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.3403, allocations: 31.77 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.3403, allocations: 25.72 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3405, allocations: 322.8 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.3405, allocations: 23.98 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.3406, allocations: 41.64 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3407, allocations: 61.64 kB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3407, allocations: 0 / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002181/0.3409, allocations: 101.6 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.341, allocations: 4 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.341, allocations: 0 / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.341, allocations: 3.938 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3411, allocations: 19.98 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3411, allocations: 3.938 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.3411, allocations: 4 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.3411, allocations: 4 kB / 0.5664 GB, free: 14.33 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.0001132/0.3413, allocations: 135.1 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.3413, allocations: 11.91 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.3415, allocations: 123.1 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3415, allocations: 0 / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3415, allocations: 0 / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3415, allocations: 0 / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.342, allocations: 366.3 kB / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.342, allocations: 3.984 kB / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.3421, allocations: 12.03 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3421, allocations: 4 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3421, allocations: 0 / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3421, allocations: 3.938 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3421, allocations: 0 / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.3423, allocations: 212.2 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.3424, allocations: 7.938 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.3424, allocations: 12 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.3424, allocations: 3.938 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.3425, allocations: 8.359 kB / 0.5672 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3425, allocations: 4 kB / 0.5672 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.3427, allocations: 160.3 kB / 0.5674 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3427, allocations: 0 / 0.5674 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3429, allocations: 23.94 kB / 0.5674 GB, free: 13.17 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.002241/0.3452, allocations: 1.092 MB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.3454, allocations: 51.92 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3454, allocations: 0 / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.3454, allocations: 36.06 kB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.3458, allocations: 32.05 kB / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.3477, allocations: 1.696 MB / 0.5703 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.348, allocations: 0.7041 MB / 0.5709 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.216e-05/0.3481, allocations: 16.58 kB / 0.571 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.3481, allocations: 39.42 kB / 0.571 GB, free: 9.523 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3481, allocations: 0 / 0.571 GB, free: 9.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.3765, allocations: 3.675 MB / 0.5746 GB, free: 5.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.37, allocations: 4.062 kB / 0.5746 GB, free: 5.883 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.356289143208414]