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.001331/0.001331, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.372/1.372, allocations: 205.1 MB / 222.6 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2943/0.2943, allocations: 43.5 MB / 313.5 MB, free: 8.418 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.00128/0.00128, allocations: 67.03 kB / 382.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09727, allocations: 57.78 MB / 439.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003283/0.1006, allocations: 2.66 MB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.1016, allocations: 0.7799 MB / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1017, allocations: 12 kB / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.1019, allocations: 51.62 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.1021, allocations: 75.44 kB / 443.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.1023, allocations: 99.89 kB / 443.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1026, allocations: 398.4 kB / 444 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.1028, allocations: 120.2 kB / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.1029, allocations: 139.4 kB / 444.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.1031, allocations: 163.2 kB / 444.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.1031, allocations: 20 kB / 444.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.98e-05/0.1032, allocations: 24 kB / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.1032, allocations: 67.73 kB / 444.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.1034, allocations: 175 kB / 444.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.1037, allocations: 406.4 kB / 445.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1037, allocations: 4 kB / 445.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1037, allocations: 0 / 445.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1037, allocations: 0 / 445.1 MB, free: 9.629 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.001021/0.1047, allocations: 0.659 MB / 445.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1048, allocations: 16.03 kB / 445.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.886e-05/0.1048, allocations: 66.72 kB / 445.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.1049, allocations: 44.38 kB / 445.9 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.1053, allocations: 272.7 kB / 446.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.1053, allocations: 29.38 kB / 446.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.1054, allocations: 32.38 kB / 446.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000712/0.1061, allocations: 369.9 kB / 446.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1061, allocations: 0 / 446.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.1061, allocations: 12 kB / 446.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.1062, allocations: 8 kB / 446.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.1068, allocations: 271.7 kB / 446.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.1088, allocations: 1.342 MB / 448.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.1093, allocations: 194.6 kB / 448.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.1095, allocations: 83.56 kB / 448.4 MB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.1095, allocations: 4 kB / 448.4 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1096, allocations: 46.48 kB / 448.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.826e-06/0.1096, allocations: 0 / 448.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007134/0.1103, allocations: 257.1 kB / 448.7 MB, free: 5.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.1104, allocations: 128.5 kB / 448.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.1107, allocations: 328.4 kB / 449.2 MB, free: 5.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1107, allocations: 33.7 kB / 449.2 MB, free: 5.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1108, allocations: 227.7 kB / 449.4 MB, free: 4.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.1109, allocations: 63.17 kB / 449.5 MB, free: 4.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-05/0.111, allocations: 57.89 kB / 449.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1111, allocations: 342.8 kB / 449.9 MB, free: 4.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.1113, allocations: 76.5 kB / 450 MB, free: 4.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.1116, allocations: 172.1 kB / 450.1 MB, free: 4.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.112, allocations: 243 kB / 450.4 MB, free: 3.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.112, allocations: 4 kB / 450.4 MB, free: 3.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005764/0.1126, allocations: 313.2 kB / 450.7 MB, free: 3.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1126, allocations: 4 kB / 450.7 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1126, allocations: 4 kB / 450.7 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1127, allocations: 4.25 kB / 450.7 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.1131, allocations: 95.86 kB / 450.8 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1131, allocations: 4 kB / 450.8 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.1133, allocations: 55.5 kB / 450.9 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.1134, allocations: 12 kB / 450.9 MB, free: 3.41 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.0001241/0.1135, allocations: 161.5 kB / 451 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.1136, allocations: 27.62 kB / 451 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.1136, allocations: 34.41 kB / 451.1 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1137, allocations: 4.562 kB / 451.1 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1137, allocations: 0 / 451.1 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1137, allocations: 4 kB / 451.1 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006801/0.1144, allocations: 0.5876 MB / 451.7 MB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1144, allocations: 4 kB / 451.7 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.1146, allocations: 59.94 kB / 451.7 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1147, allocations: 4 kB / 451.7 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1147, allocations: 3.938 kB / 451.7 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1147, allocations: 4 kB / 451.8 MB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1147, allocations: 7.922 kB / 451.8 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.1152, allocations: 390.7 kB / 452.1 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.1152, allocations: 116.6 kB / 452.3 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.1153, allocations: 11.94 kB / 452.3 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1155, allocations: 11.98 kB / 452.3 MB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.1156, allocations: 19.92 kB / 452.3 MB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1156, allocations: 7.984 kB / 452.3 MB, free: 1.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.1158, allocations: 227.1 kB / 452.5 MB, free: 1.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1158, allocations: 4 kB / 452.5 MB, free: 1.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.1162, allocations: 67.84 kB / 452.6 MB, free: 1.539 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.0007604/0.1169, allocations: 0.9263 MB / 453.5 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004869/0.1174, allocations: 191.7 kB / 453.7 MB, free: 392 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1174, allocations: 0 / 453.7 MB, free: 392 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.1177, allocations: 79.83 kB / 453.8 MB, free: 312 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.1181, allocations: 33.89 kB / 453.8 MB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.15/0.2682, allocations: 3.099 MB / 456.9 MB, free: 47.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.2684, allocations: 0.77 MB / 457.7 MB, free: 46.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.2685, allocations: 25.06 kB / 457.7 MB, free: 46.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2686, allocations: 101.5 kB / 457.8 MB, free: 46.97 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2686, allocations: 0 / 457.8 MB, free: 46.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.3061, allocations: 4.457 MB / 462.3 MB, free: 46.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/0.3063, allocations: 181.3 kB / 462.4 MB, free: 46.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.066, allocations: 3.938 kB / 462.5 MB, free: 46.28 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches