Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",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.001243/0.001243, allocations: 98.7 kB / 16.26 MB, free: 6.344 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.001211/0.001211, allocations: 194.2 kB / 17.2 MB, free: 5.945 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.377/1.377, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.1989/0.1989, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.002865/0.002865, allocations: 71.8 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1289, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002789/0.1317, allocations: 1.686 MB / 442.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.1327, allocations: 0.7883 MB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.1328, allocations: 4 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.1331, allocations: 47.75 kB / 443.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1333, allocations: 55.77 kB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.1335, allocations: 90.81 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.1337, allocations: 95.7 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.1338, allocations: 8.172 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.1338, allocations: 43.78 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.1339, allocations: 35.84 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1339, allocations: 4 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.134, allocations: 39.97 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.134, allocations: 19.94 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.1341, allocations: 35.73 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1343, allocations: 115.6 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1343, allocations: 0 / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1343, allocations: 0 / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1343, allocations: 0 / 443.7 MB, free: 3.715 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.0004214/0.1347, allocations: 407 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.1348, allocations: 23.88 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.1348, allocations: 30.75 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1348, allocations: 8.844 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.135, allocations: 213 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.135, allocations: 384 / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1351, allocations: 7.938 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.1352, allocations: 61.61 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1352, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1352, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1352, allocations: 4 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.098e-05/0.1353, allocations: 19.98 kB / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.1356, allocations: 284.8 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.1357, allocations: 62.61 kB / 444.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.1358, allocations: 24.78 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1358, allocations: 7.938 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.136, allocations: 67.39 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.136, allocations: 0 / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004497/0.1364, allocations: 173.1 kB / 445.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.1365, allocations: 51.41 kB / 445.1 MB, free: 2.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1366, allocations: 198 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.1366, allocations: 29.7 kB / 445.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.1366, allocations: 104.1 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.1367, allocations: 23.7 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.1367, allocations: 25.7 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.1368, allocations: 322.8 kB / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.1368, allocations: 16 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.1369, allocations: 41.64 kB / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.07e-05/0.137, allocations: 57.7 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.137, allocations: 0 / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001467/0.1371, allocations: 101.5 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.1372, allocations: 4 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1372, allocations: 0 / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1372, allocations: 3.984 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.1373, allocations: 16 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1373, allocations: 0 / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.1373, allocations: 7.969 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1373, allocations: 8 kB / 446 MB, free: 1.113 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.003e-05/0.1374, allocations: 136.9 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.1374, allocations: 15.81 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.1375, allocations: 16.7 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1375, allocations: 384 / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1375, allocations: 0 / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1375, allocations: 3.938 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.1378, allocations: 403.5 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1378, allocations: 0 / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.1379, allocations: 8 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1379, allocations: 3.938 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1379, allocations: 7.984 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1379, allocations: 0 / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1379, allocations: 3.938 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.1381, allocations: 204.5 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.1381, allocations: 88.92 kB / 446.9 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1381, allocations: 7.875 kB / 446.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.1382, allocations: 8 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.1382, allocations: 7.984 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1382, allocations: 4 kB / 446.9 MB, free: 104 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.1383, 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.1384, allocations: 4 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1386, allocations: 20 kB / 447.1 MB, free: 15.94 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.001358/0.14, allocations: 1.1 MB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.1402, allocations: 55.92 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1402, allocations: 0 / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.1402, allocations: 27.98 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1406, allocations: 30.12 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.1422, allocations: 1.639 MB / 450 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.1425, allocations: 0.704 MB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.1425, allocations: 8.891 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.1426, allocations: 35.42 kB / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1426, allocations: 0 / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.1662, allocations: 3.307 MB / 454 MB, free: 8.961 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.39, allocations: 8 kB / 454 MB, free: 8.953 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches