Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.0008137/0.0008137, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0008962/0.0008962, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8867/0.8867, 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.1302/0.1302, allocations: 32.37 MB / 269.6 MB, free: 14.98 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.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.713e-05, allocations: 5.938 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00212/0.002137, allocations: 1.688 MB / 408.6 MB, free: 476 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.003779, allocations: 1.478 MB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.003855, allocations: 0 / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.004148, allocations: 43.7 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.004382, allocations: 55.7 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.00462, allocations: 91.69 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.004785, allocations: 95.64 kB / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.004896, allocations: 16.22 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.004978, allocations: 55.77 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.005083, allocations: 31.91 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.005104, allocations: 7.984 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.005214, allocations: 51.92 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.005274, allocations: 23.92 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.005319, allocations: 23.91 kB / 410.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.005508, allocations: 123.6 kB / 410.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.00551, allocations: 3.938 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005511, allocations: 3.938 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.005515, allocations: 4 kB / 410.7 MB, free: 14.36 MB / 394.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.0004705/0.005985, allocations: 321.7 kB / 411 MB, free: 14.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.006027, allocations: 8.031 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.006063, allocations: 38.73 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.006098, allocations: 8.891 kB / 411.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.006293, allocations: 149.5 kB / 411.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.00631, allocations: 4.375 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.006333, allocations: 4.375 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.006488, allocations: 97.41 kB / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.006499, allocations: 0 / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.006509, allocations: 4 kB / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.006514, allocations: 0 / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.006569, allocations: 19.98 kB / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.006884, allocations: 255.9 kB / 411.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.007007, allocations: 62.67 kB / 411.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.007042, allocations: 20.84 kB / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.007059, allocations: 0 / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.007187, allocations: 71.33 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.007189, allocations: 7.984 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004183/0.007607, allocations: 173.4 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.007652, allocations: 81.11 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.007769, allocations: 165 kB / 412.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.007782, allocations: 29.7 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.007825, allocations: 100.1 kB / 412.3 MB, free: 12.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.007851, allocations: 27.78 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.007881, allocations: 25.7 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.007964, allocations: 326.8 kB / 412.7 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.255e-05/0.007997, allocations: 16 kB / 412.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-05/0.008051, allocations: 72.27 kB / 412.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.315e-05/0.008125, allocations: 65.64 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.008126, allocations: 0 / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001108/0.008236, allocations: 97.7 kB / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.008249, allocations: 4 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.008253, allocations: 80 / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.008265, allocations: 4 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.008325, allocations: 20.11 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.008331, allocations: 4.047 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/0.008363, allocations: 15.94 kB / 412.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.008368, allocations: 0 / 412.9 MB, free: 11.87 MB / 394.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 6.404e-05/0.008432, allocations: 121.8 kB / 413.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.008445, allocations: 11.94 kB / 413.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.008594, allocations: 118.4 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008595, allocations: 0 / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.008599, allocations: 4 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008602, allocations: 0 / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.008892, allocations: 378.3 kB / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.008893, allocations: 0 / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/0.008914, allocations: 8 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.008917, allocations: 384 / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.008925, allocations: 4 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.008927, allocations: 4 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.008929, allocations: 3.938 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.009066, allocations: 212.3 kB / 413.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.009077, allocations: 7.953 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.009093, allocations: 4 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.009133, allocations: 11.97 kB / 413.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.009162, allocations: 11.86 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.009173, allocations: 4 kB / 413.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.475e-05/0.009238, allocations: 123.2 kB / 414 MB, free: 10.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009238, allocations: 0 / 414 MB, free: 10.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.009423, allocations: 39.86 kB / 414 MB, free: 10.74 MB / 394.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.001056/0.01048, allocations: 1.164 MB / 415.2 MB, free: 9.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.01062, allocations: 63.89 kB / 415.2 MB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01062, allocations: 0 / 415.2 MB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.256e-05/0.01066, allocations: 28.11 kB / 415.2 MB, free: 9.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01087, allocations: 43.73 kB / 415.3 MB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.01211, allocations: 1.57 MB / 416.9 MB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.185e-05/0.01217, allocations: 79.88 kB / 416.9 MB, free: 7.684 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.01223, allocations: 16.98 kB / 417 MB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.01228, allocations: 40.41 kB / 417 MB, free: 7.625 MB / 394.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01228, allocations: 0 / 417 MB, free: 7.625 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.02761, allocations: 4.428 MB / 421.4 MB, free: 3.043 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.587/6.615, allocations: 3.953 kB / 421.4 MB, free: 3.039 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.611088382080197]