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.0006298/0.0006298, allocations: 97.02 kB / 16.02 MB, free: 84 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.0007687/0.0007686, allocations: 185.1 kB / 16.92 MB, free: 6.914 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.243/1.243, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.2929/0.2929, allocations: 43.57 MB / 315 MB, free: 9.082 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.0004497/0.0004497, allocations: 19.98 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.0878, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002191/0.09001, allocations: 2.286 MB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008461/0.09087, allocations: 0.78 MB / 446.6 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.564e-05/0.09097, allocations: 12 kB / 446.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.09109, allocations: 51.62 kB / 446.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.09127, allocations: 83.42 kB / 446.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.09147, allocations: 91.91 kB / 446.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.09179, allocations: 390.5 kB / 447.2 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.09197, allocations: 124.2 kB / 447.3 MB, free: 8.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.09214, allocations: 127.4 kB / 447.5 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.09228, allocations: 151.2 kB / 447.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.09233, allocations: 20 kB / 447.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.484e-05/0.09237, allocations: 16 kB / 447.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.09242, allocations: 59.77 kB / 447.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.09256, allocations: 188.7 kB / 447.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.09285, allocations: 394.4 kB / 448.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.09286, allocations: 0 / 448.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09287, allocations: 4 kB / 448.3 MB, free: 8.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.09287, allocations: 0 / 448.3 MB, free: 8.043 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.0008202/0.0937, allocations: 0.6162 MB / 448.9 MB, free: 7.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.09374, allocations: 12.03 kB / 448.9 MB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.294e-05/0.09381, allocations: 66.72 kB / 449 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.435e-05/0.09388, allocations: 44.38 kB / 449 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.09413, allocations: 280.5 kB / 449.3 MB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.09416, allocations: 29.38 kB / 449.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.0942, allocations: 28.38 kB / 449.3 MB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.09481, allocations: 378 kB / 449.7 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.09483, allocations: 7.938 kB / 449.7 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.09486, allocations: 8 kB / 449.7 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.09487, allocations: 12 kB / 449.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00059/0.09547, allocations: 287.8 kB / 450 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.09734, allocations: 1.358 MB / 451.4 MB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.09782, allocations: 214.5 kB / 451.6 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.09806, allocations: 91.52 kB / 451.7 MB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.09809, allocations: 4 kB / 451.7 MB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.09813, allocations: 38.5 kB / 451.7 MB, free: 4.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.09814, allocations: 3.938 kB / 451.7 MB, free: 4.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007615/0.0989, allocations: 285.2 kB / 452 MB, free: 4.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.09897, allocations: 136.4 kB / 452.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.09929, allocations: 328.4 kB / 452.5 MB, free: 3.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.09931, allocations: 29.7 kB / 452.5 MB, free: 3.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.09945, allocations: 235.7 kB / 452.7 MB, free: 3.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.09949, allocations: 55.2 kB / 452.8 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.09954, allocations: 29.7 kB / 452.8 MB, free: 3.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.09966, allocations: 342.8 kB / 453.1 MB, free: 2.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.09989, allocations: 88.5 kB / 453.2 MB, free: 2.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.1002, allocations: 184.1 kB / 453.4 MB, free: 2.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.1007, allocations: 270.9 kB / 453.7 MB, free: 2.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1007, allocations: 4 kB / 453.7 MB, free: 2.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006069/0.1013, allocations: 316.9 kB / 454 MB, free: 1.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1013, allocations: 8.25 kB / 454 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1013, allocations: 8 kB / 454 MB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1013, allocations: 4 kB / 454 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.1017, allocations: 107.8 kB / 454.1 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1017, allocations: 4 kB / 454.1 MB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.102, allocations: 64.06 kB / 454.2 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.102, allocations: 12 kB / 454.2 MB, free: 1.707 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.000116/0.1022, allocations: 149.7 kB / 454.3 MB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.1022, allocations: 23.72 kB / 454.4 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.602e-05/0.1023, allocations: 34.41 kB / 454.4 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1023, allocations: 0 / 454.4 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1023, allocations: 4 kB / 454.4 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1023, allocations: 11.98 kB / 454.4 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/0.103, allocations: 0.5914 MB / 455 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.103, allocations: 4 kB / 455 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.1033, allocations: 71.98 kB / 455.1 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1033, allocations: 7.984 kB / 455.1 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1033, allocations: 7.938 kB / 455.1 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1034, allocations: 4 kB / 455.1 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1034, allocations: 4 kB / 455.1 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.1039, allocations: 410.6 kB / 455.5 MB, free: 288 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.104, allocations: 108.7 kB / 455.6 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.104, allocations: 15.94 kB / 455.6 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.1042, allocations: 19.97 kB / 455.6 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.1043, allocations: 15.98 kB / 455.7 MB, free: 108 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1043, allocations: 4 kB / 455.7 MB, free: 104 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1625/0.2668, allocations: 230.3 kB / 455.9 MB, free: 45.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.2668, allocations: 0 / 455.9 MB, free: 45.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005448/0.2674, allocations: 71.64 kB / 455.9 MB, free: 45.31 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.0007278/0.2681, allocations: 0.9486 MB / 456.9 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004914/0.2686, allocations: 219.2 kB / 457.1 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2686, allocations: 0 / 457.1 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.2688, allocations: 92.3 kB / 457.2 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.2693, allocations: 24.56 kB / 457.2 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.2721, allocations: 3.176 MB / 460.4 MB, free: 42.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.2723, allocations: 0.7733 MB / 461.2 MB, free: 42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.2724, allocations: 25.73 kB / 461.2 MB, free: 42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.2725, allocations: 97.19 kB / 461.3 MB, free: 42 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2725, allocations: 2.297 kB / 461.3 MB, free: 42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.249/1.522, allocations: 4.362 MB / 465.7 MB, free: 41.62 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/1.522, allocations: 185.7 kB / 465.8 MB, free: 41.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/3.663, allocations: 0 / 465.8 MB, free: 41.36 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