Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",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.001094/0.001093, allocations: 175 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.271/1.271, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007525/0.0007525, allocations: 95.8 kB / 271.2 MB, free: 8.254 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.2872/0.2872, allocations: 43.56 MB / 363.1 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 19.98 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09747/0.09784, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00179/0.09967, allocations: 1.402 MB / 492.3 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1008, allocations: 0.7344 MB / 493.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.1009, allocations: 7.938 kB / 493.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.1011, allocations: 35.89 kB / 493.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1013, allocations: 39.83 kB / 493.2 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1016, allocations: 79.78 kB / 493.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1017, allocations: 83.7 kB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.092e-05/0.1018, allocations: 16.2 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.1019, allocations: 43.78 kB / 493.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.102, allocations: 23.86 kB / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.102, allocations: 4 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.1021, allocations: 39.92 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.79e-05/0.1021, allocations: 19.91 kB / 493.5 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.1022, allocations: 49.52 kB / 493.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1023, allocations: 88.09 kB / 493.6 MB, free: 8.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1023, allocations: 3.938 kB / 493.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1023, allocations: 0 / 493.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1024, allocations: 0 / 493.6 MB, free: 8.102 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004351/0.1028, allocations: 403.1 kB / 494 MB, free: 7.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1028, allocations: 8.031 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.1029, allocations: 34.75 kB / 494 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.1029, allocations: 8.844 kB / 494 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1031, allocations: 212 kB / 494.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.1032, allocations: 4.312 kB / 494.2 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1032, allocations: 7.938 kB / 494.3 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1033, allocations: 57.61 kB / 494.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1033, allocations: 0 / 494.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1033, allocations: 4 kB / 494.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1034, allocations: 0 / 494.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.558e-05/0.1034, allocations: 19.98 kB / 494.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.1038, allocations: 284.8 kB / 494.6 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1039, allocations: 62.61 kB / 494.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.104, allocations: 24.84 kB / 494.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.104, allocations: 0 / 494.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.1042, allocations: 67.39 kB / 494.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1042, allocations: 0 / 494.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004893/0.1047, allocations: 165.2 kB / 494.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1047, allocations: 63.39 kB / 495 MB, free: 6.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1049, allocations: 182.2 kB / 495.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1049, allocations: 29.7 kB / 495.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.105, allocations: 100.1 kB / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.105, allocations: 27.64 kB / 495.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.105, allocations: 0 / 495.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.1051, allocations: 322.8 kB / 495.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.1052, allocations: 23.94 kB / 495.7 MB, free: 5.809 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.1052, allocations: 41.64 kB / 495.7 MB, free: 5.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1054, allocations: 61.7 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1054, allocations: 0 / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000168/0.1055, allocations: 97.52 kB / 495.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1056, allocations: 11.58 kB / 495.9 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1056, allocations: 0 / 495.9 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1056, allocations: 4 kB / 495.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.1057, allocations: 12.38 kB / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1057, allocations: 4.031 kB / 495.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.1057, allocations: 15.94 kB / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1057, allocations: 7.984 kB / 495.9 MB, free: 5.543 MB / 378.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.309e-05/0.1058, allocations: 129.6 kB / 496 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.1059, allocations: 11.81 kB / 496 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.1059, allocations: 16.7 kB / 496.1 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1059, allocations: 7.938 kB / 496.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.1059, allocations: 0 / 496.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1059, allocations: 3.938 kB / 496.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.1063, allocations: 387.3 kB / 496.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1063, allocations: 0 / 496.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.1064, allocations: 8 kB / 496.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1064, allocations: 7.938 kB / 496.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1064, allocations: 7.984 kB / 496.5 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1064, allocations: 240 / 496.5 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1064, allocations: 0 / 496.5 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.1066, allocations: 204.3 kB / 496.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.1067, allocations: 96.86 kB / 496.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1067, allocations: 11.92 kB / 496.8 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.45e-05/0.1068, allocations: 0 / 496.8 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.1068, allocations: 4 kB / 496.8 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1068, allocations: 11.98 kB / 496.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1069, allocations: 144.1 kB / 496.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.107, allocations: 0 / 496.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.1072, allocations: 23.98 kB / 497 MB, free: 4.391 MB / 378.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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001247/0.1084, allocations: 1.098 MB / 498.1 MB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1086, allocations: 59.95 kB / 498.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.1086, allocations: 4 kB / 498.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.1087, allocations: 23.94 kB / 498.1 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.1091, allocations: 32.09 kB / 498.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1102, allocations: 0.7246 MB / 498.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1105, allocations: 0.7043 MB / 499.6 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.1106, allocations: 31.42 kB / 499.6 MB, free: 1.645 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1106, allocations: 0 / 499.6 MB, free: 1.645 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.865/2.976, allocations: 2.213 MB / 0.4901 GB, free: 42.15 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches