Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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.001755/0.001755, allocations: 126.2 kB / 17.84 MB, free: 5.223 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.00209/0.00209, allocations: 203.8 kB / 20.79 MB, free: 2.281 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.659/1.659, allocations: 207.6 MB / 231.2 MB, free: 4.086 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.4636/0.4636, allocations: 44.23 MB / 327.3 MB, free: 6.707 MB / 254.1 MB " [Timeout remaining time 179] 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.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.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 71.89 kB / 462.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3305, allocations: 61 MB / 0.5116 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003307/0.3339, allocations: 2.641 MB / 0.5142 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3352, allocations: 0.7926 MB / 0.515 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.3355, allocations: 9.938 kB / 0.515 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.3357, allocations: 71.27 kB / 0.515 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.336, allocations: 102.8 kB / 0.5151 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.3363, allocations: 109.5 kB / 0.5153 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.3367, allocations: 420.9 kB / 0.5157 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.337, allocations: 103 kB / 0.5158 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.3372, allocations: 156.1 kB / 0.5159 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.3374, allocations: 168 kB / 0.5161 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.3375, allocations: 33 kB / 0.5161 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.3375, allocations: 33.97 kB / 0.5161 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.3376, allocations: 81.09 kB / 0.5162 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.3377, allocations: 179.8 kB / 0.5164 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.3381, allocations: 424.5 kB / 0.5168 GB, free: 9.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3381, allocations: 3.938 kB / 0.5168 GB, free: 9.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3381, allocations: 0 / 0.5168 GB, free: 9.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.3381, allocations: 1.375 kB / 0.5168 GB, free: 9.227 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001043/0.3392, allocations: 0.6716 MB / 0.5174 GB, free: 8.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.3392, allocations: 13.48 kB / 0.5175 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.431e-05/0.3393, allocations: 9.438 kB / 0.5175 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.812e-05/0.3393, allocations: 69.72 kB / 0.5175 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.3394, allocations: 43.91 kB / 0.5176 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.3398, allocations: 271.1 kB / 0.5178 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.3398, allocations: 25.75 kB / 0.5179 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.3398, allocations: 34.38 kB / 0.5179 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.3405, allocations: 366.8 kB / 0.5182 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3405, allocations: 0 / 0.5182 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.3405, allocations: 10 kB / 0.5182 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.3405, allocations: 13.55 kB / 0.5183 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.3411, allocations: 271 kB / 0.5185 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.3428, allocations: 1.339 MB / 0.5198 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.3433, allocations: 194.5 kB / 0.52 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.3435, allocations: 79.56 kB / 0.5201 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.3435, allocations: 7.969 kB / 0.5201 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.3435, allocations: 46.5 kB / 0.5201 GB, free: 5.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.335e-06/0.3435, allocations: 0 / 0.5201 GB, free: 5.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007659/0.3443, allocations: 241.3 kB / 0.5204 GB, free: 5.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.3444, allocations: 140.6 kB / 0.5205 GB, free: 5.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.3447, allocations: 328.5 kB / 0.5208 GB, free: 5.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3447, allocations: 25.7 kB / 0.5208 GB, free: 5.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.3448, allocations: 244.1 kB / 0.5211 GB, free: 4.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.3448, allocations: 59.52 kB / 0.5211 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.3449, allocations: 53.94 kB / 0.5212 GB, free: 4.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.345, allocations: 342.8 kB / 0.5215 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3452, allocations: 84.5 kB / 0.5216 GB, free: 4.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.3454, allocations: 168.2 kB / 0.5217 GB, free: 4.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.3458, allocations: 251.1 kB / 0.522 GB, free: 3.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3458, allocations: 0 / 0.522 GB, free: 3.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005479/0.3463, allocations: 309.1 kB / 0.5223 GB, free: 3.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3464, allocations: 8 kB / 0.5223 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3464, allocations: 4 kB / 0.5223 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3464, allocations: 4 kB / 0.5223 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.3468, allocations: 92.11 kB / 0.5224 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3468, allocations: 4 kB / 0.5224 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.347, allocations: 47.7 kB / 0.5224 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.347, allocations: 16 kB / 0.5224 GB, free: 3.434 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001109/0.3472, allocations: 153.7 kB / 0.5226 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.3472, allocations: 27.81 kB / 0.5226 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.3473, allocations: 30.41 kB / 0.5226 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3473, allocations: 8 kB / 0.5227 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3473, allocations: 0 / 0.5227 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3473, allocations: 3.984 kB / 0.5227 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006304/0.348, allocations: 0.5954 MB / 0.5232 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.348, allocations: 0.7188 kB / 0.5232 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.3483, allocations: 59.89 kB / 0.5233 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.3483, allocations: 3.938 kB / 0.5233 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3483, allocations: 11.98 kB / 0.5233 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.3483, allocations: 8 kB / 0.5233 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3483, allocations: 0 / 0.5233 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.3489, allocations: 394.7 kB / 0.5237 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.3489, allocations: 108.9 kB / 0.5238 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.349, allocations: 11.94 kB / 0.5238 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.3492, allocations: 11.98 kB / 0.5238 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.3493, allocations: 23.91 kB / 0.5238 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3493, allocations: 4 kB / 0.5239 GB, free: 1.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.3494, allocations: 227.1 kB / 0.5241 GB, free: 1.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3494, allocations: 0 / 0.5241 GB, free: 1.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003939/0.3498, allocations: 71.89 kB / 0.5241 GB, free: 1.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0006958/0.3505, allocations: 0.942 MB / 0.5251 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005182/0.3511, allocations: 187.8 kB / 0.5252 GB, free: 412 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3511, allocations: 3.938 kB / 0.5252 GB, free: 408 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.3513, allocations: 75.83 kB / 0.5253 GB, free: 332 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.3517, allocations: 25.89 kB / 0.5253 GB, free: 304 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/0.3563, allocations: 2.962 MB / 0.5282 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.3568, allocations: 0.7753 MB / 0.529 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.3569, allocations: 26.2 kB / 0.529 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.3571, allocations: 99.41 kB / 0.5291 GB, free: 12.22 MB / 398.1 MB Notification: Performance of SimCode: time 1.884e-06/0.3571, allocations: 0 / 0.5291 GB, free: 12.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.3808, allocations: 4.949 MB / 0.5339 GB, free: 7.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.924/9.305, allocations: 12.09 kB / 0.534 GB, free: 7.258 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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: 12.467480327992234]