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.001778/0.001778, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001728/0.001728, allocations: 225.8 kB / 23.01 MB, free: 5.039 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.541/1.541, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.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.2231/0.2231, allocations: 44.22 MB / 330.3 MB, free: 9.535 MB / 270.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.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="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.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.002294/0.002294, allocations: 67.91 kB / 467.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1306, allocations: 61.04 MB / 0.5161 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004419/0.135, allocations: 2.661 MB / 0.5187 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1365, allocations: 0.7953 MB / 0.5195 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.1367, allocations: 8 kB / 0.5195 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.137, allocations: 63.38 kB / 0.5196 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.1373, allocations: 103.2 kB / 0.5197 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.1377, allocations: 103.9 kB / 0.5198 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.1382, allocations: 422.5 kB / 0.5202 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.1384, allocations: 99.84 kB / 0.5203 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.1387, allocations: 159.4 kB / 0.5204 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.139, allocations: 183.2 kB / 0.5206 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.139, allocations: 32 kB / 0.5206 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.86e-05/0.1391, allocations: 32 kB / 0.5207 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.1392, allocations: 75.75 kB / 0.5207 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.1393, allocations: 190.9 kB / 0.5209 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.1398, allocations: 418.2 kB / 0.5213 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1398, allocations: 0 / 0.5213 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1398, allocations: 0 / 0.5213 GB, free: 2.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1398, allocations: 0 / 0.5213 GB, free: 2.008 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001118/0.1409, allocations: 0.595 MB / 0.5219 GB, free: 1.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.141, allocations: 8.031 kB / 0.5219 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.781e-05/0.1411, allocations: 74.72 kB / 0.522 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.594e-05/0.1412, allocations: 44.66 kB / 0.522 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.1416, allocations: 218.8 kB / 0.5222 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.1416, allocations: 25.38 kB / 0.5222 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.1416, allocations: 32.38 kB / 0.5223 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.1423, allocations: 374 kB / 0.5226 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1423, allocations: 0 / 0.5226 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.1424, allocations: 12 kB / 0.5226 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1424, allocations: 12 kB / 0.5227 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.143, allocations: 267.8 kB / 0.5229 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.1453, allocations: 1.296 MB / 0.5242 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.1458, allocations: 186.6 kB / 0.5244 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.146, allocations: 75.52 kB / 0.5244 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.1461, allocations: 4 kB / 0.5244 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.1461, allocations: 42.5 kB / 0.5245 GB, free: 14.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.1461, allocations: 0 / 0.5245 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008021/0.1469, allocations: 257.3 kB / 0.5247 GB, free: 14.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.147, allocations: 136.5 kB / 0.5248 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.1474, allocations: 324.5 kB / 0.5252 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/0.1475, allocations: 29.7 kB / 0.5252 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.1476, allocations: 240.2 kB / 0.5254 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.1477, allocations: 55.53 kB / 0.5255 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/0.1478, allocations: 57.94 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.148, allocations: 342.8 kB / 0.5258 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.1482, allocations: 81 kB / 0.5259 GB, free: 12.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.1485, allocations: 168.2 kB / 0.5261 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.149, allocations: 247 kB / 0.5263 GB, free: 12.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.149, allocations: 4 kB / 0.5263 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000676/0.1497, allocations: 313 kB / 0.5266 GB, free: 12.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1497, allocations: 7.984 kB / 0.5266 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1497, allocations: 4 kB / 0.5266 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1498, allocations: 4.25 kB / 0.5266 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.1502, allocations: 87.88 kB / 0.5267 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1502, allocations: 7.984 kB / 0.5267 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.1504, allocations: 51.72 kB / 0.5268 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.1505, allocations: 11.94 kB / 0.5268 GB, free: 12 MB / 414.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.0001747/0.1506, allocations: 157.6 kB / 0.5269 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1507, allocations: 31.81 kB / 0.527 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/0.1508, allocations: 34.48 kB / 0.527 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1508, allocations: 4 kB / 0.527 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1508, allocations: 0 / 0.527 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1508, allocations: 4 kB / 0.527 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008605/0.1517, allocations: 0.5633 MB / 0.5276 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1517, allocations: 4 kB / 0.5276 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.152, allocations: 51.94 kB / 0.5276 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.152, allocations: 4 kB / 0.5276 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.152, allocations: 7.938 kB / 0.5276 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.152, allocations: 4 kB / 0.5276 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.152, allocations: 7.938 kB / 0.5276 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.1526, allocations: 394.9 kB / 0.528 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.1526, allocations: 31.75 kB / 0.528 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.1527, allocations: 11.88 kB / 0.5281 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.1529, allocations: 24.03 kB / 0.5281 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.153, allocations: 15.92 kB / 0.5281 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.153, allocations: 8 kB / 0.5281 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.1533, allocations: 227.1 kB / 0.5283 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1533, allocations: 4 kB / 0.5283 GB, free: 10.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.1537, allocations: 67.89 kB / 0.5284 GB, free: 10.25 MB / 414.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.0008815/0.1545, allocations: 0.9265 MB / 0.5293 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005316/0.1551, allocations: 188 kB / 0.5295 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1551, allocations: 0 / 0.5295 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.1553, allocations: 79.83 kB / 0.5295 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1558, allocations: 18.25 kB / 0.5296 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.1601, allocations: 2.984 MB / 0.5325 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.1605, allocations: 0.7675 MB / 0.5332 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.1607, allocations: 25.94 kB / 0.5333 GB, free: 5.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.1608, allocations: 99.41 kB / 0.5333 GB, free: 4.914 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1608, allocations: 0 / 0.5333 GB, free: 4.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2422/0.403, allocations: 5.175 MB / 0.5384 GB, free: 29.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.65, allocations: 2.203 kB / 0.5384 GB, free: 29.1 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.683568296022713]