Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001317/0.001317, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.001817/0.001817, allocations: 202 kB / 23.72 MB, free: 4.5 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.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 7.711 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.2201/0.2201, allocations: 46.95 MB / 360.8 MB, free: 3.902 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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 79.88 kB / 0.4962 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3367, allocations: 66.08 MB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003919/0.3406, allocations: 1.671 MB / 0.5624 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.3427, allocations: 0.9476 MB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.3428, allocations: 3.938 kB / 0.5633 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.3433, allocations: 83.75 kB / 0.5634 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004509/0.3437, allocations: 115.5 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.344, allocations: 79.72 kB / 0.5636 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.3442, allocations: 111.6 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.3442, allocations: 240 / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3443, allocations: 59.75 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.3445, allocations: 55.81 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3445, allocations: 4 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.3446, allocations: 32 kB / 0.5638 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.3447, allocations: 31.78 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.3447, allocations: 27.8 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.3449, allocations: 109.3 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3449, allocations: 4 kB / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3449, allocations: 4 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3449, allocations: 0 / 0.564 GB, free: 0.6406 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000585/0.3455, allocations: 349.6 kB / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3456, allocations: 8.031 kB / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.3456, allocations: 30.75 kB / 0.5644 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.3457, allocations: 16.84 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.346, allocations: 158.2 kB / 0.5645 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.346, allocations: 4.375 kB / 0.5645 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.346, allocations: 384 / 0.5645 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3462, allocations: 57.84 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3462, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.3462, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3462, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/0.3463, allocations: 15.94 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.3465, allocations: 160.8 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.3466, allocations: 54.56 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.3467, allocations: 20.84 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.3467, allocations: 0 / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.3469, allocations: 71.33 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3469, allocations: 4 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002951/0.3472, allocations: 105.5 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.3472, allocations: 51.41 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.3475, allocations: 223.5 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3475, allocations: 25.7 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.3475, allocations: 112.1 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.3476, allocations: 11.88 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.3476, allocations: 25.66 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3478, allocations: 326.8 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/0.3478, allocations: 19.98 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.3479, allocations: 25.7 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.348, allocations: 53.89 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.348, allocations: 0 / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001647/0.3481, allocations: 85.53 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3482, allocations: 8 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3482, allocations: 0 / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3482, allocations: 0 / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.3483, allocations: 23.95 kB / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3483, allocations: 0 / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.3483, allocations: 4 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3483, allocations: 4 kB / 0.566 GB, free: 14.41 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 (7): * Single equations (assignments): 7 * 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.0001104/0.3484, allocations: 125.4 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.3485, allocations: 23.78 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.3487, allocations: 98.75 kB / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3487, allocations: 0 / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3487, allocations: 3.938 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3487, allocations: 0 / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.3488, allocations: 156.7 kB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3488, allocations: 3.938 kB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.3489, allocations: 7.984 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3489, allocations: 4 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3489, allocations: 0 / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3489, allocations: 0 / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3489, allocations: 0 / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.3491, allocations: 121 kB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.3491, allocations: 19.84 kB / 0.5665 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3491, allocations: 192 / 0.5665 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.3492, allocations: 15.98 kB / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.3492, allocations: 0 / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3492, allocations: 8 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.3494, allocations: 173.1 kB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3494, allocations: 0 / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.3496, allocations: 19.94 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001998/0.3516, allocations: 0.9689 MB / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.3518, allocations: 55.91 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3518, allocations: 4.062 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.347e-05/0.3518, allocations: 19.98 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.3521, allocations: 35.64 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.3539, allocations: 1.573 MB / 0.5693 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.94e-05/0.354, allocations: 89.03 kB / 0.5694 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.3541, allocations: 16.48 kB / 0.5694 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.3542, allocations: 43.36 kB / 0.5694 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3542, allocations: 0 / 0.5694 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.3827, allocations: 3.944 MB / 0.5733 GB, free: 6.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.4, allocations: 3.938 kB / 0.5733 GB, free: 6.867 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019972 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.533037540037185]