Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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) 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 112.5 kB / 18.36 MB, free: 4.84 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.001599/0.001599, allocations: 184.5 kB / 19.29 MB, free: 3.918 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.433/1.433, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.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.001195/0.001195, allocations: 51.92 kB / 329.1 MB, free: 3.348 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1015, allocations: 46.63 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004811/0.1064, allocations: 3.644 MB / 379.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2194/0.3258, allocations: 1.016 MB / 380.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005759/0.3264, allocations: 8.188 kB / 380.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.327, allocations: 110.3 kB / 380.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.3275, allocations: 197.1 kB / 380.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.3279, allocations: 125.7 kB / 380.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000817/0.3287, allocations: 0.6825 MB / 381.5 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.3291, allocations: 199.2 kB / 381.7 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.3294, allocations: 253.6 kB / 382 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.3298, allocations: 296.6 kB / 382.3 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3299, allocations: 58 kB / 382.3 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.3301, allocations: 58.25 kB / 382.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.3302, allocations: 127.5 kB / 382.5 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.3306, allocations: 315.6 kB / 382.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008897/0.3315, allocations: 0.6903 MB / 383.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3315, allocations: 0.5312 kB / 383.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3315, allocations: 0 / 383.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3315, allocations: 0.5312 kB / 383.5 MB, free: 9.215 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001552/0.3331, allocations: 0.8911 MB / 384.4 MB, free: 8.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3331, allocations: 8.969 kB / 384.4 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.3333, allocations: 66.41 kB / 384.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007338/0.334, allocations: 434.7 kB / 384.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.69e-05/0.3341, allocations: 60.95 kB / 384.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.3342, allocations: 37.19 kB / 385 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008397/0.335, allocations: 483.2 kB / 385.5 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.3351, allocations: 0 / 385.5 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.3351, allocations: 13.72 kB / 385.5 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.3351, allocations: 7.844 kB / 385.5 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008256/0.336, allocations: 342.6 kB / 385.8 MB, free: 8.02 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.338, allocations: 1.286 MB / 387.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007037/0.3387, allocations: 385.5 kB / 387.5 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.3391, allocations: 179.1 kB / 387.6 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.3391, allocations: 7.719 kB / 387.7 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3392, allocations: 43.19 kB / 387.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.3392, allocations: 1.969 kB / 387.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001899/0.3411, allocations: 0.7171 MB / 388.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000203/0.3413, allocations: 447.7 kB / 388.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007967/0.3421, allocations: 458.3 kB / 389.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.3422, allocations: 37.02 kB / 389.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.3424, allocations: 245.2 kB / 389.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.3425, allocations: 117.9 kB / 389.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.3427, allocations: 74.52 kB / 389.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3428, allocations: 366.1 kB / 390.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.3432, allocations: 133 kB / 390.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.3437, allocations: 289.1 kB / 390.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007775/0.3445, allocations: 334.7 kB / 390.9 MB, free: 4.586 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3445, allocations: 1.703 kB / 390.9 MB, free: 4.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001172/0.3457, allocations: 486.7 kB / 391.3 MB, free: 4.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.3458, allocations: 31.92 kB / 391.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3458, allocations: 3.422 kB / 391.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.346, allocations: 49.98 kB / 391.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.3465, allocations: 80.86 kB / 391.5 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.3485, allocations: 2.968 MB / 394.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005575/0.349, allocations: 54.44 kB / 394.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.3491, allocations: 9.078 kB / 394.5 MB, free: 1.336 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002589/0.3494, allocations: 174 kB / 394.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3495, allocations: 54.67 kB / 394.8 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.998e-05/0.3496, allocations: 56.17 kB / 394.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3496, allocations: 8.469 kB / 394.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3496, allocations: 1.156 kB / 394.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008695/0.3505, allocations: 0.725 MB / 395.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.3523, allocations: 1.015 MB / 396.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3523, allocations: 6.812 kB / 396.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.3527, allocations: 90.83 kB / 396.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3528, allocations: 1.859 kB / 396.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.3528, allocations: 11.55 kB / 396.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3528, allocations: 1.281 kB / 396.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3528, allocations: 4 kB / 396.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.3542, allocations: 0.6507 MB / 397.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.3544, allocations: 167.6 kB / 397.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.3545, allocations: 16.31 kB / 397.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.3548, allocations: 25.34 kB / 397.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.3549, allocations: 27.61 kB / 397.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.355, allocations: 11.2 kB / 397.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004321/0.3554, allocations: 325.3 kB / 397.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3554, allocations: 1.219 kB / 397.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005121/0.3559, allocations: 139.6 kB / 398 MB, free: 15.21 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (35): * Single equations (assignments): 35 * 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.000179/0.3561, allocations: 113.3 kB / 398.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.3574, allocations: 0.6298 MB / 398.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3574, allocations: 1.156 kB / 398.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004322/0.3579, allocations: 182 kB / 398.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.3586, allocations: 145 kB / 399.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.3604, allocations: 0.9503 MB / 400 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.3609, allocations: 0.8263 MB / 400.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.361, allocations: 48.28 kB / 400.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.361, allocations: 0 / 400.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Templates: time 0.01407/0.3751, allocations: 8.853 MB / 409.8 MB, free: 9.602 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches