Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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.001441/0.001441, allocations: 105.2 kB / 16.27 MB, free: 5.949 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.001385/0.001385, allocations: 189.2 kB / 17.19 MB, free: 5.59 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.7/1.7, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2249/0.2249, allocations: 43.51 MB / 313.9 MB, free: 0.543 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.001858/0.001858, allocations: 71.73 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1311, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003393/0.1346, allocations: 1.652 MB / 442.3 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1358, allocations: 0.7828 MB / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.1359, allocations: 0 / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1362, allocations: 55.81 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.1364, allocations: 63.69 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1367, allocations: 71.78 kB / 443.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.1368, allocations: 91.69 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.1369, allocations: 8.281 kB / 443.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.1369, allocations: 35.86 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.137, allocations: 31.78 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.137, allocations: 4 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.1371, allocations: 31.98 kB / 443.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.1372, allocations: 23.92 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.1373, allocations: 43.61 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1375, allocations: 111.6 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1375, allocations: 4 kB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1375, allocations: 4 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1375, allocations: 0 / 443.6 MB, free: 3.777 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005163/0.138, allocations: 438.6 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1381, allocations: 11.89 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.1381, allocations: 34.75 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.1381, allocations: 8.844 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1383, allocations: 219.5 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1384, allocations: 4.375 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1384, allocations: 7.875 kB / 444.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1385, allocations: 53.67 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1385, allocations: 4 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1386, allocations: 0 / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1386, allocations: 3.984 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.688e-05/0.1386, allocations: 15.98 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.1388, allocations: 185.6 kB / 444.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.139, allocations: 66.48 kB / 444.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.1391, allocations: 16.86 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.1391, allocations: 7.938 kB / 444.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.1393, allocations: 63.38 kB / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.592e-06/0.1394, allocations: 0 / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003014/0.1397, allocations: 93.58 kB / 444.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.1397, allocations: 63.34 kB / 444.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1399, allocations: 255.7 kB / 445.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1399, allocations: 25.7 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.14, allocations: 112.1 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.1401, allocations: 15.75 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.1401, allocations: 17.72 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.1402, allocations: 330.8 kB / 445.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.1402, allocations: 15.94 kB / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.1403, allocations: 33.69 kB / 445.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.987e-05/0.1404, allocations: 49.95 kB / 445.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1404, allocations: 3.938 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001457/0.1406, allocations: 85.44 kB / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1406, allocations: 4 kB / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1406, allocations: 160 / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1407, allocations: 0 / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.1407, allocations: 20.03 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.1408, allocations: 11.91 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.1408, allocations: 0 / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1408, allocations: 4 kB / 445.9 MB, free: 1.289 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 (7): * Single equations (assignments): 7 * 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 0.0001106/0.141, allocations: 137.7 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.141, allocations: 15.81 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.141, allocations: 20.98 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.141, allocations: 0 / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1411, allocations: 0 / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1411, allocations: 4 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1412, allocations: 197.6 kB / 446.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1412, allocations: 0 / 446.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/0.1413, allocations: 0 / 446.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1413, allocations: 4 kB / 446.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1413, allocations: 0 / 446.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1413, allocations: 0 / 446.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1413, allocations: 0 / 446.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.1414, allocations: 124.8 kB / 446.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.1415, allocations: 81.02 kB / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1415, allocations: 4.125 kB / 446.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.1416, allocations: 7.984 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1416, allocations: 8 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1416, allocations: 0 / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1418, allocations: 199.2 kB / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1418, allocations: 0 / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.142, allocations: 19.98 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001304/0.1433, allocations: 0.9638 MB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.1435, allocations: 43.98 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1435, allocations: 4 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.403e-05/0.1435, allocations: 19.92 kB / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1439, allocations: 34.02 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.1457, allocations: 1.643 MB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.146, allocations: 0.715 MB / 450.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.945e-05/0.146, allocations: 12.55 kB / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.1461, allocations: 39.42 kB / 450.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1461, allocations: 0 / 450.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.1689, allocations: 3.324 MB / 453.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/7.981, allocations: 16 kB / 453.5 MB, free: 9.508 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches