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.001073/0.001073, allocations: 108.4 kB / 18.4 MB, free: 4.68 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.001007/0.001007, allocations: 190.1 kB / 19.34 MB, free: 3.754 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.252/1.252, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001116/0.001116, allocations: 51.92 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07474/0.07586, allocations: 46.61 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004234/0.08013, allocations: 3.65 MB / 379.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1498/0.2299, allocations: 1.019 MB / 380.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.2303, allocations: 9.219 kB / 380.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.2306, allocations: 110.1 kB / 380.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.231, allocations: 191.9 kB / 380.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2312, allocations: 130.5 kB / 380.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005381/0.2318, allocations: 0.6775 MB / 381.6 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.232, allocations: 201.1 kB / 381.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.2322, allocations: 256.9 kB / 382 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.2325, allocations: 301.6 kB / 382.3 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.236e-05/0.2326, allocations: 57.72 kB / 382.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.2328, allocations: 57.91 kB / 382.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.2329, allocations: 120.4 kB / 382.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.2331, allocations: 315.1 kB / 382.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006755/0.2338, allocations: 0.6879 MB / 383.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2338, allocations: 0 / 383.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2338, allocations: 5.469 kB / 383.6 MB, free: 9.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.2339, allocations: 0 / 383.6 MB, free: 9.23 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.001284/0.2351, allocations: 0.8921 MB / 384.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2352, allocations: 8.75 kB / 384.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.2353, allocations: 70.28 kB / 384.5 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.2359, allocations: 434 kB / 385 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.182e-05/0.236, allocations: 58.53 kB / 385 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.2361, allocations: 34.34 kB / 385 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007613/0.2368, allocations: 485.3 kB / 385.5 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.2369, allocations: 3.938 kB / 385.5 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.2369, allocations: 19.78 kB / 385.5 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2369, allocations: 7.719 kB / 385.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000804/0.2377, allocations: 333.4 kB / 385.9 MB, free: 8.031 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.001768/0.2395, allocations: 1.286 MB / 387.2 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.2401, allocations: 380.9 kB / 387.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.2405, allocations: 179 kB / 387.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.2406, allocations: 8.828 kB / 387.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.2406, allocations: 42.09 kB / 387.8 MB, free: 6.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.075e-06/0.2406, allocations: 6.859 kB / 387.8 MB, free: 6.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.00151/0.2421, allocations: 0.716 MB / 388.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.2422, allocations: 448.7 kB / 388.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.2427, allocations: 456.8 kB / 389.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.2427, allocations: 38.19 kB / 389.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.2429, allocations: 240.6 kB / 389.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.467e-05/0.243, allocations: 118.1 kB / 389.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.2431, allocations: 75.2 kB / 389.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.2432, allocations: 360.7 kB / 390.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.2435, allocations: 146.2 kB / 390.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.244, allocations: 285.4 kB / 390.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/0.2447, allocations: 335.9 kB / 390.9 MB, free: 4.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2447, allocations: 4.812 kB / 390.9 MB, free: 4.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009389/0.2457, allocations: 479.6 kB / 391.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.2457, allocations: 31.69 kB / 391.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.2457, allocations: 5.469 kB / 391.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.2459, allocations: 50.44 kB / 391.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.2463, allocations: 84.75 kB / 391.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.248, allocations: 2.963 MB / 394.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.2484, allocations: 45.86 kB / 394.6 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.2484, allocations: 16.02 kB / 394.6 MB, free: 1.348 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.0001586/0.2486, allocations: 175.8 kB / 394.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.2487, allocations: 51.58 kB / 394.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/0.2488, allocations: 51.8 kB / 394.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000805/0.2496, allocations: 0.7349 MB / 395.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2496, allocations: 1.156 kB / 395.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.2498, allocations: 171 kB / 395.8 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.2499, allocations: 12.22 kB / 395.8 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.2503, allocations: 25.19 kB / 395.8 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.2503, allocations: 31.61 kB / 395.8 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00106/0.2514, allocations: 474.7 kB / 396.3 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001302/0.2527, allocations: 0.7304 MB / 397 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003751/0.2531, allocations: 166.5 kB / 397.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003659/0.2535, allocations: 334.2 kB / 397.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of Backend: time 2.21e-07/0.2535, allocations: 0 / 397.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.2547, allocations: 0.5981 MB / 398.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of SimCode: time 0.001706/0.2564, allocations: 1.416 MB / 399.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of Templates: time 0.01462/0.271, allocations: 9.173 MB / 408.7 MB, free: 10.63 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