Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008027/0.0008028, allocations: 174.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.139/1.139, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006587/0.0006587, allocations: 90.36 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2847/0.2847, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 19.98 kB / 432.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09647, allocations: 58.85 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00195/0.09845, allocations: 1.526 MB / 492.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.0996, allocations: 0.8357 MB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.09968, allocations: 3.938 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.1001, allocations: 215.5 kB / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.1003, allocations: 147.5 kB / 493.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1007, allocations: 123.8 kB / 493.8 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1009, allocations: 199.4 kB / 494 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.101, allocations: 21.55 kB / 494 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.1011, allocations: 99.59 kB / 494.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1013, allocations: 123.5 kB / 494.2 MB, free: 7.242 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1013, allocations: 4 kB / 494.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.234e-05/0.1014, allocations: 39.98 kB / 494.3 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.1015, allocations: 47.83 kB / 494.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.1016, allocations: 105.1 kB / 494.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1017, allocations: 155.9 kB / 494.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1018, allocations: 0 / 494.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1018, allocations: 0 / 494.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.1018, allocations: 0 / 494.6 MB, free: 6.891 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005939/0.1024, allocations: 0.5099 MB / 495.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1024, allocations: 8.031 kB / 495.1 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.1025, allocations: 38.73 kB / 495.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.1025, allocations: 28.56 kB / 495.1 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1028, allocations: 276.1 kB / 495.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1028, allocations: 4.375 kB / 495.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.1028, allocations: 7.938 kB / 495.4 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.1031, allocations: 111.2 kB / 495.5 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1031, allocations: 0 / 495.5 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.1031, allocations: 3.984 kB / 495.5 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1031, allocations: 4 kB / 495.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1032, allocations: 39.97 kB / 495.6 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.1037, allocations: 452.9 kB / 496 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.104, allocations: 109.3 kB / 496.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.941e-05/0.1041, allocations: 37.7 kB / 496.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1041, allocations: 12 kB / 496.2 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.1043, allocations: 109 kB / 496.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.1043, allocations: 0 / 496.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008098/0.1052, allocations: 367.9 kB / 496.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.1052, allocations: 85.05 kB / 496.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.1056, allocations: 432.4 kB / 497.1 MB, free: 4.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1056, allocations: 33.7 kB / 497.2 MB, free: 4.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.1057, allocations: 148.4 kB / 497.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.1058, allocations: 47.36 kB / 497.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.1058, allocations: 7.938 kB / 497.4 MB, free: 3.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1059, allocations: 346.8 kB / 497.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.106, allocations: 35.98 kB / 497.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1062, allocations: 79.34 kB / 497.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1064, allocations: 119.5 kB / 497.9 MB, free: 3.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1064, allocations: 0 / 497.9 MB, free: 3.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002792/0.1067, allocations: 177.3 kB / 498.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1067, allocations: 4 kB / 498.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1067, allocations: 4 kB / 498.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1067, allocations: 0 / 498.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.1069, allocations: 39.86 kB / 498.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1069, allocations: 3.984 kB / 498.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.631e-05/0.107, allocations: 15.84 kB / 498.2 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.107, allocations: 8 kB / 498.2 MB, free: 2.965 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.1071, allocations: 165.9 kB / 498.4 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.1072, allocations: 23.72 kB / 498.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.1072, allocations: 34.62 kB / 498.4 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.1072, allocations: 7.938 kB / 498.4 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1072, allocations: 0 / 498.4 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1072, allocations: 3.984 kB / 498.4 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.1079, allocations: 0.6241 MB / 499 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1079, allocations: 0 / 499 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.108, allocations: 23.92 kB / 499.1 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.108, allocations: 0 / 499.1 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.108, allocations: 8 kB / 499.1 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.108, allocations: 4 kB / 499.1 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.108, allocations: 0 / 499.1 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.1083, allocations: 371.9 kB / 499.4 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.1084, allocations: 104.8 kB / 499.5 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.1085, allocations: 4.75 kB / 499.5 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.1086, allocations: 11.98 kB / 499.6 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.1086, allocations: 7.984 kB / 499.6 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1087, allocations: 16 kB / 499.6 MB, free: 1.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002565/0.1089, allocations: 319 kB / 499.9 MB, free: 1.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1089, allocations: 0 / 499.9 MB, free: 1.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.1092, allocations: 39.98 kB / 499.9 MB, free: 1.105 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1583/0.2675, allocations: 1.266 MB / 0.4895 GB, free: 43.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.2679, allocations: 110.6 kB / 0.4896 GB, free: 43.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2679, allocations: 0 / 0.4896 GB, free: 43.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.268, allocations: 64.95 kB / 0.4896 GB, free: 43.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/0.2687, allocations: 55.69 kB / 0.4897 GB, free: 43.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.2708, allocations: 1.533 MB / 0.4912 GB, free: 42.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.271, allocations: 0.7679 MB / 0.4919 GB, free: 41.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.2711, allocations: 83.36 kB / 0.492 GB, free: 41.79 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2711, allocations: 0 / 0.492 GB, free: 41.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.778/3.049, allocations: 4.089 MB / 0.496 GB, free: 41.43 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches