Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 208.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2244/0.2244, allocations: 44.93 MB / 358.8 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 67.91 kB / 0.4931 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3278, allocations: 65.47 MB / 0.557 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003793/0.3316, allocations: 1.912 MB / 0.5589 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3335, allocations: 1.007 MB / 0.5599 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.3337, allocations: 4 kB / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.334, allocations: 47.64 kB / 0.5599 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.3345, allocations: 99.53 kB / 0.56 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.3347, allocations: 99.64 kB / 0.5601 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.335, allocations: 143.5 kB / 0.5602 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3351, allocations: 23.56 kB / 0.5603 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3353, allocations: 63.7 kB / 0.5603 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3354, allocations: 51.66 kB / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3354, allocations: 4 kB / 0.5604 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3355, allocations: 47.98 kB / 0.5604 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.3356, allocations: 27.91 kB / 0.5605 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.3357, allocations: 43.67 kB / 0.5605 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.336, allocations: 159.3 kB / 0.5607 GB, free: 3.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.336, allocations: 0 / 0.5607 GB, free: 3.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.336, allocations: 0 / 0.5607 GB, free: 3.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.336, allocations: 4 kB / 0.5607 GB, free: 3.738 MB / 398.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.0006937/0.3367, allocations: 415 kB / 0.5611 GB, free: 3.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3367, allocations: 12.03 kB / 0.5611 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.3368, allocations: 34.75 kB / 0.5611 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.3368, allocations: 16.84 kB / 0.5611 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.3372, allocations: 174.9 kB / 0.5613 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.3372, allocations: 8.375 kB / 0.5613 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.3372, allocations: 7.938 kB / 0.5613 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.3375, allocations: 137.9 kB / 0.5614 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3375, allocations: 0 / 0.5614 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3375, allocations: 4 kB / 0.5614 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3375, allocations: 0 / 0.5614 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.3377, allocations: 55.89 kB / 0.5615 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.3384, allocations: 476 kB / 0.5619 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.3387, allocations: 82.67 kB / 0.562 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3388, allocations: 40.83 kB / 0.5621 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.3388, allocations: 0 / 0.5621 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.3391, allocations: 117 kB / 0.5622 GB, free: 2.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3391, allocations: 0 / 0.5622 GB, free: 2.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004338/0.3395, allocations: 153.4 kB / 0.5623 GB, free: 1.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3396, allocations: 51.41 kB / 0.5624 GB, free: 1.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.3398, allocations: 203.2 kB / 0.5626 GB, free: 1.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3399, allocations: 33.7 kB / 0.5626 GB, free: 1.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.34, allocations: 116.1 kB / 0.5627 GB, free: 1.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.34, allocations: 35.73 kB / 0.5627 GB, free: 1.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.3401, allocations: 29.7 kB / 0.5628 GB, free: 1.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3402, allocations: 322.8 kB / 0.5631 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.3403, allocations: 31.98 kB / 0.5631 GB, free: 1.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.3404, allocations: 68.2 kB / 0.5632 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.3406, allocations: 104.1 kB / 0.5633 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3406, allocations: 0 / 0.5633 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003055/0.341, allocations: 141.4 kB / 0.5634 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.341, allocations: 6.969 kB / 0.5634 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.341, allocations: 480 / 0.5634 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.341, allocations: 7.938 kB / 0.5634 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3411, allocations: 24.11 kB / 0.5634 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.3411, allocations: 7.938 kB / 0.5634 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.3412, allocations: 19.88 kB / 0.5635 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3412, allocations: 7.938 kB / 0.5635 GB, free: 0.5938 MB / 398.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.0001754/0.3414, allocations: 125.8 kB / 0.5636 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.3414, allocations: 11.91 kB / 0.5636 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.3417, allocations: 139 kB / 0.5637 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3417, allocations: 7.922 kB / 0.5637 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3417, allocations: 4 kB / 0.5637 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3417, allocations: 4 kB / 0.5637 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.342, allocations: 168.7 kB / 0.5639 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.342, allocations: 0 / 0.5639 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.3421, allocations: 15.98 kB / 0.5639 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3421, allocations: 0 / 0.5639 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3421, allocations: 4 kB / 0.5639 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3421, allocations: 11.88 kB / 0.5639 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3421, allocations: 0 / 0.5639 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.3425, allocations: 196.9 kB / 0.5641 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.3426, allocations: 15.88 kB / 0.5641 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.3426, allocations: 0 / 0.5641 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.3427, allocations: 11.92 kB / 0.5642 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.3427, allocations: 11.98 kB / 0.5642 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.3427, allocations: 4 kB / 0.5642 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.3429, allocations: 147.2 kB / 0.5643 GB, free: 15.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3429, allocations: 0 / 0.5643 GB, free: 15.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.3431, allocations: 24 kB / 0.5643 GB, free: 15.63 MB / 414.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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.002236/0.3454, allocations: 1.063 MB / 0.5654 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.3456, allocations: 83.83 kB / 0.5655 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3456, allocations: 192 / 0.5655 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3458, allocations: 39.91 kB / 0.5655 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3461, allocations: 43.3 kB / 0.5655 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.3484, allocations: 1.766 MB / 0.5673 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.3485, allocations: 109.8 kB / 0.5674 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.981e-05/0.3486, allocations: 17.42 kB / 0.5674 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.427e-05/0.3487, allocations: 47.42 kB / 0.5674 GB, free: 12.49 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3487, allocations: 0 / 0.5674 GB, free: 12.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.3819, allocations: 4.556 MB / 0.5719 GB, free: 8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.61, allocations: 7.922 kB / 0.5719 GB, free: 7.992 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.558394439984113]