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.00136/0.00136, allocations: 114.6 kB / 17.08 MB, free: 5.957 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.001309/0.001309, allocations: 191.7 kB / 20.02 MB, free: 3.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.618/1.618, allocations: 205.1 MB / 227.9 MB, free: 4.324 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.3679/0.3679, allocations: 43.51 MB / 320.8 MB, free: 8.977 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.002202/0.002202, allocations: 71.89 kB / 450 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3539, allocations: 57.79 MB / 0.4959 GB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003544/0.3575, allocations: 2.622 MB / 0.4984 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3588, allocations: 0.7916 MB / 0.4992 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.3591, allocations: 9.562 kB / 0.4992 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.3593, allocations: 71.55 kB / 0.4993 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.3595, allocations: 100.8 kB / 0.4994 GB, free: 16.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.3598, allocations: 107.1 kB / 0.4995 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.3602, allocations: 425 kB / 0.4999 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.3605, allocations: 140.3 kB / 0.5 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.3607, allocations: 151.7 kB / 0.5002 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.3609, allocations: 171.9 kB / 0.5003 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.3609, allocations: 32.31 kB / 0.5004 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.229e-05/0.361, allocations: 34.06 kB / 0.5004 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.3611, allocations: 72.61 kB / 0.5005 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.3612, allocations: 183.9 kB / 0.5006 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.3616, allocations: 425.6 kB / 0.5011 GB, free: 15.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3616, allocations: 3.984 kB / 0.5011 GB, free: 15.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3616, allocations: 1.25 kB / 0.5011 GB, free: 15.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.3617, allocations: 0 / 0.5011 GB, free: 15.44 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.0009459/0.3626, allocations: 0.6713 MB / 0.5017 GB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3627, allocations: 13.8 kB / 0.5017 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.3627, allocations: 69.78 kB / 0.5018 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.825e-05/0.3628, allocations: 43.66 kB / 0.5018 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.3631, allocations: 274.9 kB / 0.5021 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.3632, allocations: 27.44 kB / 0.5021 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.3632, allocations: 28.94 kB / 0.5021 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.3638, allocations: 370.5 kB / 0.5025 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3638, allocations: 0 / 0.5025 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.3639, allocations: 11.31 kB / 0.5025 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3639, allocations: 9.219 kB / 0.5025 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006301/0.3645, allocations: 266.8 kB / 0.5028 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.3663, allocations: 1.347 MB / 0.5041 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.3667, allocations: 205.5 kB / 0.5043 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.367, allocations: 76.38 kB / 0.5044 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.367, allocations: 10.62 kB / 0.5044 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.367, allocations: 41.23 kB / 0.5044 GB, free: 12.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.367, allocations: 4 kB / 0.5044 GB, free: 12.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007853/0.3678, allocations: 247 kB / 0.5046 GB, free: 12.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.3679, allocations: 131.5 kB / 0.5048 GB, free: 12.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.3683, allocations: 325.9 kB / 0.5051 GB, free: 12.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.3683, allocations: 33.7 kB / 0.5051 GB, free: 12.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3684, allocations: 237.8 kB / 0.5053 GB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3685, allocations: 58.83 kB / 0.5054 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-05/0.3686, allocations: 53.25 kB / 0.5054 GB, free: 11.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.3687, allocations: 350.2 kB / 0.5058 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.3689, allocations: 74.94 kB / 0.5059 GB, free: 11.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.3692, allocations: 173.6 kB / 0.506 GB, free: 11.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005001/0.3697, allocations: 255.1 kB / 0.5063 GB, free: 11.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3697, allocations: 1 kB / 0.5063 GB, free: 11.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006652/0.3704, allocations: 304.9 kB / 0.5066 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3704, allocations: 6.875 kB / 0.5066 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3704, allocations: 2.812 kB / 0.5066 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.3705, allocations: 4.031 kB / 0.5066 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.3709, allocations: 92.27 kB / 0.5067 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.3709, allocations: 4.594 kB / 0.5067 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3712, allocations: 49.06 kB / 0.5067 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.3712, allocations: 12.91 kB / 0.5067 GB, free: 10.82 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.0001426/0.3714, allocations: 153.7 kB / 0.5069 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3715, allocations: 29.59 kB / 0.5069 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.431e-05/0.3716, allocations: 34.69 kB / 0.5069 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3716, allocations: 7.141 kB / 0.5069 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3716, allocations: 1.719 kB / 0.5069 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3716, allocations: 1.281 kB / 0.5069 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000758/0.3724, allocations: 0.5925 MB / 0.5075 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3724, allocations: 2.281 kB / 0.5075 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.3727, allocations: 61.78 kB / 0.5076 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3727, allocations: 6.906 kB / 0.5076 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3727, allocations: 9.969 kB / 0.5076 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3728, allocations: 7.438 kB / 0.5076 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3728, allocations: 1.438 kB / 0.5076 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.3733, allocations: 397 kB / 0.508 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.3734, allocations: 109.3 kB / 0.5081 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.3734, allocations: 7.188 kB / 0.5081 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3736, allocations: 20.77 kB / 0.5081 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.3737, allocations: 18.61 kB / 0.5081 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3737, allocations: 4.781 kB / 0.5081 GB, free: 9.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.374, allocations: 226.3 kB / 0.5083 GB, free: 9.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.374, allocations: 0 / 0.5083 GB, free: 9.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.3744, allocations: 71.66 kB / 0.5084 GB, free: 9.383 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.0007437/0.3752, allocations: 0.9399 MB / 0.5093 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005592/0.3757, allocations: 198.8 kB / 0.5095 GB, free: 8.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3757, allocations: 64 / 0.5095 GB, free: 8.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.376, allocations: 81.8 kB / 0.5096 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.3764, allocations: 22.09 kB / 0.5096 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.3803, allocations: 2.96 MB / 0.5125 GB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.3806, allocations: 0.7747 MB / 0.5133 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.3807, allocations: 29.61 kB / 0.5133 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3808, allocations: 98.12 kB / 0.5134 GB, free: 5.191 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3808, allocations: 1.094 kB / 0.5134 GB, free: 5.191 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.4092, allocations: 4.874 MB / 0.5182 GB, free: 2.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/8.916, allocations: 11.98 kB / 0.5182 GB, free: 2.594 MB / 382.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.896293088095263]