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.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.001685/0.001685, allocations: 114.6 kB / 17.13 MB, free: 5.949 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.001922/0.001922, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.692/1.692, allocations: 207.6 MB / 230.4 MB, free: 4.039 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.3757/0.3757, allocations: 44.24 MB / 326.5 MB, free: 6.828 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.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.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",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.002258/0.002258, allocations: 71.89 kB / 462.1 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3252, allocations: 60.99 MB / 0.5109 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003605/0.3288, allocations: 2.635 MB / 0.5135 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3301, allocations: 0.8051 MB / 0.5142 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.3303, allocations: 5.375 kB / 0.5142 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.3305, allocations: 67.95 kB / 0.5143 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.3308, allocations: 100.9 kB / 0.5144 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.3311, allocations: 111.2 kB / 0.5145 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.3315, allocations: 422.6 kB / 0.5149 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.3318, allocations: 106.8 kB / 0.515 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.332, allocations: 147.3 kB / 0.5152 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.3322, allocations: 168.7 kB / 0.5153 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.114e-05/0.3323, allocations: 34.19 kB / 0.5153 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.165e-05/0.3324, allocations: 32.31 kB / 0.5154 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.3325, allocations: 81.86 kB / 0.5155 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.3326, allocations: 179.8 kB / 0.5156 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.3331, allocations: 424.4 kB / 0.516 GB, free: 9.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.3331, allocations: 0 / 0.516 GB, free: 9.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3331, allocations: 0 / 0.516 GB, free: 9.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3331, allocations: 5.375 kB / 0.516 GB, free: 9.156 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.001169/0.3343, allocations: 0.6677 MB / 0.5167 GB, free: 8.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.3344, allocations: 13.48 kB / 0.5167 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.299e-05/0.3344, allocations: 68.34 kB / 0.5168 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.3345, allocations: 49.28 kB / 0.5168 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.335, allocations: 275.1 kB / 0.5171 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.335, allocations: 25.75 kB / 0.5171 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.335, allocations: 30.38 kB / 0.5171 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.3358, allocations: 366.2 kB / 0.5175 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.3358, allocations: 0 / 0.5175 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.3358, allocations: 10.75 kB / 0.5175 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.3358, allocations: 13.61 kB / 0.5175 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007027/0.3366, allocations: 267.2 kB / 0.5178 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.3383, allocations: 1.346 MB / 0.5191 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.3388, allocations: 198.5 kB / 0.5193 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3389, allocations: 87.39 kB / 0.5193 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.339, allocations: 0 / 0.5193 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.339, allocations: 38.56 kB / 0.5194 GB, free: 6.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.339, allocations: 0 / 0.5194 GB, free: 6.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006934/0.3397, allocations: 249.2 kB / 0.5196 GB, free: 5.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3397, allocations: 132.5 kB / 0.5197 GB, free: 5.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.34, allocations: 324.5 kB / 0.5201 GB, free: 5.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.34, allocations: 25.7 kB / 0.5201 GB, free: 5.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.3401, allocations: 248.1 kB / 0.5203 GB, free: 5.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.3402, allocations: 55.66 kB / 0.5204 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.3402, allocations: 57.94 kB / 0.5204 GB, free: 4.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.316e-05/0.3403, allocations: 342.8 kB / 0.5208 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3405, allocations: 80.5 kB / 0.5208 GB, free: 4.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.3407, allocations: 172.1 kB / 0.521 GB, free: 4.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.3411, allocations: 259 kB / 0.5212 GB, free: 3.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3411, allocations: 0 / 0.5212 GB, free: 3.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005156/0.3416, allocations: 301.1 kB / 0.5215 GB, free: 3.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3416, allocations: 12.23 kB / 0.5215 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3417, allocations: 8 kB / 0.5215 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3417, allocations: 4 kB / 0.5216 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.342, allocations: 83.88 kB / 0.5216 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.342, allocations: 11.92 kB / 0.5216 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.3423, allocations: 44.28 kB / 0.5217 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3423, allocations: 16 kB / 0.5217 GB, free: 3.496 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.0001067/0.3424, allocations: 153.7 kB / 0.5218 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-05/0.3425, allocations: 31.81 kB / 0.5219 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.3426, allocations: 34.39 kB / 0.5219 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3426, allocations: 4 kB / 0.5219 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3426, allocations: 4 kB / 0.5219 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3426, allocations: 0 / 0.5219 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006196/0.3432, allocations: 0.5954 MB / 0.5225 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3432, allocations: 0 / 0.5225 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.3434, allocations: 55.94 kB / 0.5226 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3434, allocations: 0 / 0.5226 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3435, allocations: 19.81 kB / 0.5226 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3435, allocations: 4 kB / 0.5226 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3435, allocations: 4.156 kB / 0.5226 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.3439, allocations: 398.7 kB / 0.523 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.344, allocations: 100.9 kB / 0.5231 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.344, allocations: 11.94 kB / 0.5231 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.3442, allocations: 15.97 kB / 0.5231 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.3443, allocations: 15.98 kB / 0.5231 GB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.3443, allocations: 15.94 kB / 0.5231 GB, free: 1.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.3444, allocations: 223.1 kB / 0.5233 GB, free: 1.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3444, allocations: 0 / 0.5233 GB, free: 1.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.3448, allocations: 67.89 kB / 0.5234 GB, free: 1.633 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.0006255/0.3455, allocations: 0.942 MB / 0.5243 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004804/0.3459, allocations: 191.6 kB / 0.5245 GB, free: 472 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3459, allocations: 0 / 0.5245 GB, free: 472 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.3461, allocations: 80.69 kB / 0.5246 GB, free: 392 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.3466, allocations: 21.44 kB / 0.5246 GB, free: 372 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.3509, allocations: 2.962 MB / 0.5275 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.3514, allocations: 0.7753 MB / 0.5282 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.3515, allocations: 22.22 kB / 0.5283 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3517, allocations: 103.4 kB / 0.5284 GB, free: 12.28 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3517, allocations: 4 kB / 0.5284 GB, free: 12.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.3817, allocations: 4.912 MB / 0.5332 GB, free: 7.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.888, allocations: 8.062 kB / 0.5332 GB, free: 7.352 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.918728588148952]