Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007962/0.0007962, allocations: 72.55 kB / 19.92 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008143/0.0008143, allocations: 173.9 kB / 23.21 MB, free: 1.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8768/0.8768, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1337/0.1337, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.131e-05, allocations: 5.938 kB / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002216/0.002238, allocations: 1.672 MB / 408.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.003259, allocations: 0.7879 MB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.003331, allocations: 0 / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.003626, allocations: 43.7 kB / 409.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.003828, allocations: 63.69 kB / 409.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.004018, allocations: 83.7 kB / 409.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.00416, allocations: 107.6 kB / 409.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.004249, allocations: 4.234 kB / 409.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.037e-05/0.004329, allocations: 43.89 kB / 409.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.0044, allocations: 27.91 kB / 409.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.004416, allocations: 4 kB / 409.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.004494, allocations: 47.91 kB / 409.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.004545, allocations: 23.88 kB / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.004582, allocations: 19.92 kB / 409.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004737, allocations: 111.6 kB / 410 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004739, allocations: 4 kB / 410 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00474, allocations: 0 / 410 MB, free: 10.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004744, allocations: 3.938 kB / 410 MB, free: 10.38 MB / 346.7 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.0004223/0.005166, allocations: 349.6 kB / 410.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.005203, allocations: 8.031 kB / 410.3 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.005237, allocations: 34.75 kB / 410.3 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.005269, allocations: 12.89 kB / 410.4 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.005453, allocations: 139.5 kB / 410.5 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.005463, allocations: 8.312 kB / 410.5 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.005481, allocations: 12.36 kB / 410.5 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.005595, allocations: 57.92 kB / 410.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.005607, allocations: 7.953 kB / 410.6 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.005618, allocations: 7.984 kB / 410.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.005622, allocations: 0 / 410.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.059e-05/0.005672, allocations: 19.98 kB / 410.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.005961, allocations: 252 kB / 410.9 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.006077, allocations: 58.61 kB / 410.9 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.006112, allocations: 16.86 kB / 410.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.006126, allocations: 7.984 kB / 410.9 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.006254, allocations: 75.38 kB / 411 MB, free: 9.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.006255, allocations: 0 / 411 MB, free: 9.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004161/0.006672, allocations: 181.3 kB / 411.2 MB, free: 9.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.006703, allocations: 51.41 kB / 411.2 MB, free: 8.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.006839, allocations: 207.2 kB / 411.4 MB, free: 8.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.006853, allocations: 25.7 kB / 411.5 MB, free: 8.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.006905, allocations: 108.1 kB / 411.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.006933, allocations: 27.78 kB / 411.6 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.006964, allocations: 21.72 kB / 411.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.007056, allocations: 330.8 kB / 411.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.007089, allocations: 19.98 kB / 412 MB, free: 8.195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.265e-05/0.007132, allocations: 41.64 kB / 412 MB, free: 8.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.47e-05/0.007206, allocations: 61.7 kB / 412.1 MB, free: 8.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007207, allocations: 0 / 412.1 MB, free: 8.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001187/0.007326, allocations: 109.5 kB / 412.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.007337, allocations: 4 kB / 412.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007342, allocations: 0 / 412.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.007354, allocations: 4.031 kB / 412.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.007417, allocations: 19.98 kB / 412.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.007422, allocations: 192 / 412.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.00745, allocations: 4 kB / 412.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.007457, allocations: 4.094 kB / 412.2 MB, free: 7.934 MB / 346.7 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 8.104e-05/0.007538, allocations: 133.8 kB / 412.3 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.007551, allocations: 11.89 kB / 412.3 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.007714, allocations: 119.1 kB / 412.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007716, allocations: 7.938 kB / 412.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.00772, allocations: 4 kB / 412.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.007727, allocations: 3.984 kB / 412.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.008028, allocations: 374.3 kB / 412.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.008031, allocations: 3.984 kB / 412.8 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.008053, allocations: 11.94 kB / 412.9 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.008055, allocations: 0 / 412.9 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.008069, allocations: 4 kB / 412.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.008071, allocations: 0 / 412.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008072, allocations: 3.938 kB / 412.9 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.008211, allocations: 212.3 kB / 413.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.008224, allocations: 15.91 kB / 413.1 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.008241, allocations: 8.375 kB / 413.1 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.008277, allocations: 0 / 413.1 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.008306, allocations: 11.92 kB / 413.1 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.008318, allocations: 8 kB / 413.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.04e-05/0.008398, allocations: 151.9 kB / 413.3 MB, free: 6.785 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008398, allocations: 0 / 413.3 MB, free: 6.785 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000172/0.00857, allocations: 27.92 kB / 413.3 MB, free: 6.758 MB / 346.7 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 (9): * Single equations (assignments): 7 * 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.0009993/0.009569, allocations: 1.126 MB / 414.4 MB, free: 5.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.009709, allocations: 59.91 kB / 414.5 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00971, allocations: 0 / 414.5 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.977e-05/0.00976, allocations: 31.92 kB / 414.5 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.009991, allocations: 40.03 kB / 414.5 MB, free: 5.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.01124, allocations: 1.682 MB / 416.2 MB, free: 3.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.52e-05/0.01131, allocations: 96.16 kB / 416.3 MB, free: 3.637 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.081e-05/0.01135, allocations: 12.48 kB / 416.3 MB, free: 3.625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.0114, allocations: 44.48 kB / 416.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.0114, allocations: 0 / 416.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.02657, allocations: 4.266 MB / 420.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/6.622, allocations: 4.062 kB / 420.6 MB, free: 15.2 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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: 8.563383209519088]