Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.001216/0.001216, allocations: 117.7 kB / 20.32 MB, free: 1.547 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.001371/0.001371, allocations: 205.7 kB / 23.6 MB, free: 4.945 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.359/1.359, allocations: 230.4 MB / 257.1 MB, free: 8.09 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.2116/0.2116, allocations: 46.93 MB / 360.5 MB, free: 4.242 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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 83.86 kB / 0.4959 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3202, allocations: 66.08 MB / 0.5604 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003374/0.3236, allocations: 1.686 MB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3254, allocations: 1.033 MB / 0.5631 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.3255, allocations: 0 / 0.5631 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.3257, allocations: 59.73 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.3261, allocations: 111.5 kB / 0.5632 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.3263, allocations: 75.73 kB / 0.5633 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.3265, allocations: 103.6 kB / 0.5634 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.3266, allocations: 8.219 kB / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3267, allocations: 55.77 kB / 0.5635 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.3268, allocations: 55.77 kB / 0.5635 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3268, allocations: 4 kB / 0.5635 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.3269, allocations: 27.98 kB / 0.5635 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.3269, allocations: 23.86 kB / 0.5636 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.327, allocations: 23.81 kB / 0.5636 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.3272, allocations: 113.4 kB / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3272, allocations: 0 / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3272, allocations: 0 / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3272, allocations: 3.938 kB / 0.5637 GB, free: 0.9492 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.0005387/0.3278, allocations: 341.6 kB / 0.564 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3278, allocations: 8.031 kB / 0.564 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.3279, allocations: 38.73 kB / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.3279, allocations: 12.84 kB / 0.5641 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.3282, allocations: 154.9 kB / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3282, allocations: 8.375 kB / 0.5642 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.3282, allocations: 384 / 0.5642 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3284, allocations: 49.8 kB / 0.5643 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3284, allocations: 4 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3284, allocations: 4 kB / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3284, allocations: 0 / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/0.3285, allocations: 15.98 kB / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.3286, allocations: 152.7 kB / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.3288, allocations: 50.56 kB / 0.5645 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/0.3289, allocations: 24.91 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3289, allocations: 0 / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.329, allocations: 67.27 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.329, allocations: 0 / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002641/0.3293, allocations: 97.56 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.3294, allocations: 51.41 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.3296, allocations: 202.3 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.3296, allocations: 33.64 kB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.3296, allocations: 100.1 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.3297, allocations: 19.84 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3297, allocations: 21.7 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3299, allocations: 322.8 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.942e-05/0.3299, allocations: 12 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.33, allocations: 25.7 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.539e-05/0.3301, allocations: 49.7 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3301, allocations: 3.938 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001521/0.3302, allocations: 81.53 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3302, allocations: 8 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3302, allocations: 0 / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3302, allocations: 320 / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.3303, allocations: 15.92 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3303, allocations: 0 / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.3304, allocations: 16.03 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3304, allocations: 7.984 kB / 0.5656 GB, free: 14.79 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 9.984e-05/0.3305, allocations: 123.1 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.3305, allocations: 11.89 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.3307, allocations: 86.77 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3307, allocations: 0 / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3307, allocations: 0 / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3307, allocations: 0 / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.3309, allocations: 172.6 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3309, allocations: 3.938 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.3309, allocations: 7.875 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3309, allocations: 4 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3309, allocations: 4 kB / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3309, allocations: 0 / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3309, allocations: 0 / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.3311, allocations: 101.1 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.3311, allocations: 15.89 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.3311, allocations: 8 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.505e-05/0.3312, allocations: 3.984 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.3312, allocations: 0 / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.3312, allocations: 4 kB / 0.5661 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.3313, allocations: 152.2 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3313, allocations: 0 / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.3315, allocations: 19.94 kB / 0.5663 GB, free: 14 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 (5): * Single equations (assignments): 3 * 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.001832/0.3334, allocations: 0.9534 MB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.3335, allocations: 43.91 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3335, allocations: 0 / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.3336, allocations: 16 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.3338, allocations: 31.95 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.3355, allocations: 1.502 MB / 0.5688 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3356, allocations: 96.92 kB / 0.5689 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.3357, allocations: 16.48 kB / 0.5689 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.3357, allocations: 27.42 kB / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3357, allocations: 4 kB / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.3631, allocations: 3.316 MB / 0.5722 GB, free: 8.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.01, allocations: 3.438 kB / 0.5722 GB, free: 8.039 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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: 13.870450183749199]