Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.341/0.341, allocations: 44.24 MB / 326.5 MB, free: 6.773 MB / 254.1 MB " [Timeout remaining time 180] 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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002193/0.002193, allocations: 75.89 kB / 462.1 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.256, allocations: 61 MB / 0.5109 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.00148/0.2575, allocations: 0.497 MB / 0.5114 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005481/0.258, allocations: 254.2 kB / 0.5116 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.258, allocations: 0 / 0.5116 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.2581, allocations: 0 / 0.5116 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-06/0.2581, allocations: 0 / 0.5116 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.2583, allocations: 60.38 kB / 0.5117 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.763e-05/0.2584, allocations: 2.188 kB / 0.5117 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.2584, allocations: 1.156 kB / 0.5117 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.353e-05/0.2584, allocations: 0 / 0.5117 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.2585, allocations: 1.125 kB / 0.5117 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.777e-06/0.2585, allocations: 3.984 kB / 0.5117 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.2586, allocations: 68.78 kB / 0.5117 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.2586, allocations: 3.938 kB / 0.5117 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.2586, allocations: 1.062 kB / 0.5117 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.2587, allocations: 53.19 kB / 0.5118 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2587, allocations: 1.031 kB / 0.5118 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2587, allocations: 4 kB / 0.5118 GB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2587, allocations: 0 / 0.5118 GB, free: 12.5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002431/0.259, allocations: 360.7 kB / 0.5121 GB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.259, allocations: 12.98 kB / 0.5122 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.498e-05/0.259, allocations: 36.16 kB / 0.5122 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.2591, allocations: 4.891 kB / 0.5122 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.929e-05/0.2591, allocations: 161.7 kB / 0.5123 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2591, allocations: 384 / 0.5123 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.2591, allocations: 5.531 kB / 0.5124 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.893e-05/0.2592, allocations: 40.97 kB / 0.5124 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2592, allocations: 3.938 kB / 0.5124 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-06/0.2592, allocations: 0 / 0.5124 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2592, allocations: 0 / 0.5124 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.553e-05/0.2592, allocations: 5.188 kB / 0.5124 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.925e-05/0.2593, allocations: 143.1 kB / 0.5125 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.222e-05/0.2594, allocations: 17.08 kB / 0.5126 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.134e-05/0.2594, allocations: 10.17 kB / 0.5126 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.2594, allocations: 7.984 kB / 0.5126 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.2594, allocations: 61.52 kB / 0.5126 GB, free: 11.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.2594, allocations: 0 / 0.5126 GB, free: 11.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000145/0.2595, allocations: 62.66 kB / 0.5127 GB, free: 11.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.2596, allocations: 78.23 kB / 0.5128 GB, free: 11.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.745e-05/0.2596, allocations: 89.86 kB / 0.5128 GB, free: 11.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.2596, allocations: 26.7 kB / 0.5129 GB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.598e-06/0.2596, allocations: 88.25 kB / 0.513 GB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2596, allocations: 1.188 kB / 0.513 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.2596, allocations: 15.88 kB / 0.513 GB, free: 11.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.2597, allocations: 312.1 kB / 0.5133 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.2597, allocations: 3.938 kB / 0.5133 GB, free: 10.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-06/0.2597, allocations: 1 kB / 0.5133 GB, free: 10.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.2597, allocations: 60.3 kB / 0.5133 GB, free: 10.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2597, allocations: 64 / 0.5133 GB, free: 10.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.114e-05/0.2598, allocations: 70.61 kB / 0.5134 GB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.2598, allocations: 30.92 kB / 0.5134 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2598, allocations: 7.938 kB / 0.5134 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2598, allocations: 1.031 kB / 0.5134 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.2598, allocations: 0 / 0.5134 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2598, allocations: 1.094 kB / 0.5134 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.2598, allocations: 0 / 0.5134 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.2598, allocations: 1.031 kB / 0.5134 GB, free: 10.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.725e-05/0.2599, allocations: 149.6 kB / 0.5136 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.2599, allocations: 1 kB / 0.5136 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.028e-05/0.2599, allocations: 8.219 kB / 0.5136 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2599, allocations: 0 / 0.5136 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2599, allocations: 0 / 0.5136 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2599, allocations: 0.9062 kB / 0.5136 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.014e-05/0.26, allocations: 143 kB / 0.5137 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.26, allocations: 3.984 kB / 0.5137 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.26, allocations: 5.453 kB / 0.5137 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.26, allocations: 0 / 0.5137 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.26, allocations: 5.375 kB / 0.5137 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.26, allocations: 4 kB / 0.5137 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.26, allocations: 0 / 0.5137 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.356e-05/0.2601, allocations: 89.5 kB / 0.5138 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.2601, allocations: 82.12 kB / 0.5139 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.2601, allocations: 8.969 kB / 0.5139 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-06/0.2601, allocations: 1.094 kB / 0.5139 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-06/0.2601, allocations: 0 / 0.5139 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.2601, allocations: 5.156 kB / 0.5139 GB, free: 10.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.111e-05/0.2601, allocations: 79.22 kB / 0.514 GB, free: 9.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.2601, allocations: 0 / 0.514 GB, free: 9.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.2603, allocations: 24.14 kB / 0.514 GB, free: 9.93 MB / 382.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0006837/0.261, allocations: 0.7939 MB / 0.5148 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.377e-05/0.2611, allocations: 59.92 kB / 0.5149 GB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2611, allocations: 1.156 kB / 0.5149 GB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.2611, allocations: 61.56 kB / 0.5149 GB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.2612, allocations: 6.312 kB / 0.5149 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.2615, allocations: 124.7 kB / 0.515 GB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.366e-05/0.2616, allocations: 0.6722 MB / 0.5157 GB, free: 8.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.951e-06/0.2616, allocations: 0 / 0.5157 GB, free: 8.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.04e-05/0.2616, allocations: 7.438 kB / 0.5157 GB, free: 8.203 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2616, allocations: 0 / 0.5157 GB, free: 8.203 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.2836, allocations: 1.629 MB / 0.5173 GB, free: 7.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/8.767, allocations: 1.219 kB / 0.5173 GB, free: 7.148 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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: 11.476842479314655]