Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 105.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 190.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2011/0.2011, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 65.02 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06649/0.06785, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002259/0.07014, allocations: 1.693 MB / 442.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.07126, allocations: 0.8039 MB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.07137, allocations: 4 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.0717, allocations: 39.77 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.07191, allocations: 59.75 kB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.07216, allocations: 75.78 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.0723, allocations: 99.69 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.453e-05/0.07239, allocations: 16.16 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.059e-05/0.07247, allocations: 39.8 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.07255, allocations: 35.84 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.07258, allocations: 7.938 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.07268, allocations: 35.98 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.07273, allocations: 19.92 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.07278, allocations: 35.73 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.07297, allocations: 107.7 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.07298, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.07299, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.073, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.1 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.0004897/0.07349, allocations: 418.9 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.07354, allocations: 15.89 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.07358, allocations: 34.69 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.07363, allocations: 8.844 kB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.07383, allocations: 209.2 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.07385, allocations: 384 / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.07388, allocations: 7.938 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.07403, allocations: 57.66 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.07405, allocations: 0 / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.07407, allocations: 4 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.07408, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.07416, allocations: 23.92 kB / 444.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.0745, allocations: 284.8 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.07468, allocations: 58.67 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.07475, allocations: 24.84 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.07479, allocations: 4 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.07503, allocations: 67.33 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.07504, allocations: 3.938 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005217/0.07557, allocations: 181.1 kB / 445.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.07561, allocations: 55.41 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.07574, allocations: 198 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.07576, allocations: 29.7 kB / 445.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.07581, allocations: 100.1 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.07584, allocations: 23.7 kB / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.07588, allocations: 21.72 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.593e-05/0.07594, allocations: 322.8 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.076, allocations: 23.98 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.555e-05/0.07606, allocations: 37.7 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.8e-05/0.07616, allocations: 57.66 kB / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.07617, allocations: 4 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001457/0.07632, allocations: 97.56 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.07635, allocations: 4 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.07636, allocations: 0 / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.07638, allocations: 4 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.07647, allocations: 19.95 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.07648, allocations: 4 kB / 446 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.07653, allocations: 11.94 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.07654, allocations: 0 / 446.1 MB, free: 1.09 MB / 318.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 (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 7.085e-05/0.07662, allocations: 133.7 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.07665, allocations: 11.81 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.07669, allocations: 12.72 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.0767, allocations: 4 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.07671, allocations: 0 / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.07672, allocations: 7.938 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.07705, allocations: 383.3 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.07706, allocations: 0 / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.0771, allocations: 11.98 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.07711, allocations: 11.88 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.07712, allocations: 0 / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.07713, allocations: 0 / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.07713, allocations: 0 / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.0773, allocations: 204.3 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.07733, allocations: 88.92 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.07736, allocations: 19.86 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.359e-05/0.07743, allocations: 384 / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.07747, allocations: 4 kB / 446.9 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.0775, allocations: 8.172 kB / 446.9 MB, free: 96 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.07762, allocations: 139.2 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.07763, allocations: 3.938 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000268/0.0779, allocations: 23.98 kB / 447.1 MB, free: 15.93 MB / 334.1 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 (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.00134/0.07925, allocations: 1.1 MB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.07944, allocations: 59.91 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.07945, allocations: 4 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.07953, allocations: 31.91 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.07987, allocations: 42.06 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.08151, allocations: 1.623 MB / 450 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.0818, allocations: 0.704 MB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.053e-05/0.08187, allocations: 17.17 kB / 450.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.08195, allocations: 35.42 kB / 450.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.08196, allocations: 0 / 450.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.1011, allocations: 3.292 MB / 454 MB, free: 8.953 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.567/8.669, allocations: 0 / 454 MB, free: 8.953 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches