Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.005162/0.005162, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.00128/0.00128, allocations: 194.8 kB / 16.79 MB, free: 6.238 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.51/1.51, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3913/0.3913, allocations: 43.5 MB / 313.5 MB, free: 8.512 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.00164/0.00164, allocations: 67.91 kB / 382.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1313, allocations: 57.79 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003922/0.1353, allocations: 1.968 MB / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1368, allocations: 0.8235 MB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.1369, allocations: 0 / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1373, allocations: 43.77 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.1375, allocations: 39.83 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.1379, allocations: 99.83 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1381, allocations: 127.5 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1383, allocations: 41.67 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1384, allocations: 59.66 kB / 443.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.1385, allocations: 39.78 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1385, allocations: 4 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1387, allocations: 51.91 kB / 443.2 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.1387, allocations: 19.86 kB / 443.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.1388, allocations: 51.67 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.1391, allocations: 139.6 kB / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1391, allocations: 0 / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1391, allocations: 4 kB / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1391, allocations: 0 / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007648/0.1399, allocations: 476.5 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.14, allocations: 8.031 kB / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.14, allocations: 42.69 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.1401, allocations: 16.75 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.1404, allocations: 220.8 kB / 444.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1404, allocations: 12.36 kB / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.1404, allocations: 7.938 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.1407, allocations: 112.2 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1407, allocations: 0 / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1408, allocations: 0 / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1408, allocations: 4 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1409, allocations: 47.97 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.1415, allocations: 0.5086 MB / 444.9 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.1419, allocations: 94.59 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.142, allocations: 36.84 kB / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.142, allocations: 3.984 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/0.1423, allocations: 87.38 kB / 445.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.1423, allocations: 0 / 445.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004019/0.1427, allocations: 137.7 kB / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.1427, allocations: 59.41 kB / 445.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1429, allocations: 191.4 kB / 445.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.143, allocations: 25.8 kB / 445.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.573e-05/0.143, allocations: 115.9 kB / 445.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1431, allocations: 31.64 kB / 445.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.1431, allocations: 33.66 kB / 445.7 MB, free: 8.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1433, allocations: 330.8 kB / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.684e-05/0.1434, allocations: 27.98 kB / 446 MB, free: 8.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-05/0.1435, allocations: 56.28 kB / 446.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1436, allocations: 100.2 kB / 446.2 MB, free: 8.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1437, allocations: 0 / 446.2 MB, free: 8.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002598/0.1439, allocations: 141.4 kB / 446.3 MB, free: 8.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1439, allocations: 8 kB / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.144, allocations: 0 / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.144, allocations: 3.938 kB / 446.3 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.4e-05/0.1441, allocations: 27.92 kB / 446.3 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1441, allocations: 4 kB / 446.3 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.1442, allocations: 15.89 kB / 446.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1442, allocations: 4 kB / 446.4 MB, free: 7.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001039/0.1443, allocations: 133.4 kB / 446.5 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.1443, allocations: 19.81 kB / 446.5 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.1444, allocations: 17.39 kB / 446.5 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1444, allocations: 7.875 kB / 446.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1444, allocations: 0 / 446.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1444, allocations: 4 kB / 446.5 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.1446, allocations: 209.5 kB / 446.7 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1446, allocations: 0 / 446.7 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.1447, allocations: 15.98 kB / 446.8 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1447, allocations: 0 / 446.8 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1447, allocations: 96 / 446.8 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.1447, allocations: 15.88 kB / 446.8 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1447, allocations: 0 / 446.8 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.1451, allocations: 180.8 kB / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1451, allocations: 81.05 kB / 447 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.1452, allocations: 7.984 kB / 447 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.1452, allocations: 7.938 kB / 447 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.1453, allocations: 20.03 kB / 447.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1453, allocations: 0 / 447.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1454, allocations: 141.2 kB / 447.2 MB, free: 7.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1454, allocations: 0 / 447.2 MB, free: 7.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.1457, allocations: 32.03 kB / 447.2 MB, free: 7.012 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001434/0.1471, allocations: 1.039 MB / 448.3 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.1473, allocations: 71.91 kB / 448.3 MB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.1474, allocations: 4 kB / 448.3 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.667e-05/0.1475, allocations: 39.91 kB / 448.4 MB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1478, allocations: 32.17 kB / 448.4 MB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.1497, allocations: 1.762 MB / 450.2 MB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.15, allocations: 0.72 MB / 450.9 MB, free: 3.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.609e-05/0.15, allocations: 17.42 kB / 450.9 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.1501, allocations: 39.42 kB / 451 MB, free: 3.172 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1501, allocations: 0 / 451 MB, free: 3.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2188/0.3689, allocations: 3.466 MB / 454.4 MB, free: 47.81 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.3691, allocations: 235.1 kB / 454.7 MB, free: 47.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.038, allocations: 0 / 454.7 MB, free: 47.56 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches