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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001312, allocations: 101.2 kB / 16.27 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 187.3 kB / 17.19 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.176/0.176, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB 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.001528/0.001528, allocations: 70.12 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1142, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002626/0.1168, allocations: 2.62 MB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007455/0.1176, allocations: 0.7953 MB / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1177, allocations: 8 kB / 444 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.1179, allocations: 63.39 kB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.118, allocations: 99.17 kB / 444.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.1182, allocations: 111.8 kB / 444.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1185, allocations: 410.5 kB / 444.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.1186, allocations: 147.2 kB / 444.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1188, allocations: 159.4 kB / 445 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1189, allocations: 171.2 kB / 445.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.1189, allocations: 35.94 kB / 445.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.066e-05/0.119, allocations: 32 kB / 445.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.119, allocations: 75.75 kB / 445.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.406e-05/0.1191, allocations: 187 kB / 445.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.1193, allocations: 414.4 kB / 445.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1193, allocations: 0 / 445.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1194, allocations: 0 / 445.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1194, allocations: 4 kB / 445.9 MB, free: 1.488 MB / 318.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.0007398/0.1201, allocations: 0.6513 MB / 446.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.1201, allocations: 15.89 kB / 446.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.1202, allocations: 66.72 kB / 446.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.1202, allocations: 48.38 kB / 446.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1204, allocations: 272.7 kB / 447 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1204, allocations: 25.38 kB / 447 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.1205, allocations: 32.38 kB / 447 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.121, allocations: 362 kB / 447.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.121, allocations: 4 kB / 447.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.121, allocations: 16 kB / 447.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1211, allocations: 8 kB / 447.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/0.1216, allocations: 268.9 kB / 447.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.1234, allocations: 1.342 MB / 449 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.1238, allocations: 194.6 kB / 449.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.124, allocations: 83.55 kB / 449.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.124, allocations: 11.92 kB / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1241, allocations: 38.56 kB / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.213e-06/0.1241, allocations: 0 / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006961/0.1248, allocations: 249.1 kB / 449.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.1248, allocations: 132.6 kB / 449.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.1251, allocations: 336.4 kB / 450 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1252, allocations: 25.7 kB / 450 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1253, allocations: 231.6 kB / 450.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.1254, allocations: 59.23 kB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/0.1255, allocations: 57.89 kB / 450.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1256, allocations: 346.7 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.1259, allocations: 80.5 kB / 450.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.1261, allocations: 176.1 kB / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.1266, allocations: 242.9 kB / 451.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1266, allocations: 0 / 451.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006028/0.1272, allocations: 305 kB / 451.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1272, allocations: 4 kB / 451.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1273, allocations: 4 kB / 451.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1273, allocations: 4 kB / 451.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.1277, allocations: 100 kB / 451.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1277, allocations: 8.141 kB / 451.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1279, allocations: 51.5 kB / 451.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.128, allocations: 12 kB / 451.7 MB, free: 11.29 MB / 334.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.0001843/0.1281, allocations: 157.6 kB / 451.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.1282, allocations: 27.62 kB / 451.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.1283, allocations: 34.41 kB / 451.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1283, allocations: 4 kB / 451.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1283, allocations: 4 kB / 451.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1283, allocations: 0 / 451.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006867/0.129, allocations: 0.5881 MB / 452.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.129, allocations: 4 kB / 452.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.1293, allocations: 56.09 kB / 452.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1293, allocations: 4 kB / 452.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1293, allocations: 15.94 kB / 452.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.1293, allocations: 7.922 kB / 452.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.1294, allocations: 4 kB / 452.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.1299, allocations: 382.7 kB / 453 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.1299, allocations: 116.6 kB / 453.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.13, allocations: 12.22 kB / 453.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1302, allocations: 11.98 kB / 453.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.1303, allocations: 15.98 kB / 453.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1303, allocations: 11.98 kB / 453.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.1305, allocations: 223.1 kB / 453.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.374e-06/0.1305, allocations: 0 / 453.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.1309, allocations: 75.78 kB / 453.4 MB, free: 9.422 MB / 334.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.0007973/0.1317, allocations: 0.9341 MB / 454.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005471/0.1322, allocations: 203.4 kB / 454.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1322, allocations: 0 / 454.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.1325, allocations: 79.89 kB / 454.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.133, allocations: 25.42 kB / 454.7 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.1367, allocations: 2.968 MB / 457.6 MB, free: 4.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.1371, allocations: 0.7714 MB / 458.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.1372, allocations: 25.94 kB / 458.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.1374, allocations: 107.3 kB / 458.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1374, allocations: 0 / 458.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2213/0.3587, allocations: 4.739 MB / 463.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.223, allocations: 4.938 kB / 463.3 MB, free: 15.33 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) 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) Reference file matches