Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.479/1.479, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 58.58 kB / 348.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2753, allocations: 49.16 MB / 397.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004256/0.2795, allocations: 3.022 MB / 400.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.2815, allocations: 1.214 MB / 401.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.2816, allocations: 8.656 kB / 401.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.2822, allocations: 161.4 kB / 402 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.2826, allocations: 190.7 kB / 402.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.283, allocations: 155.3 kB / 402.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.2835, allocations: 443.6 kB / 402.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.2837, allocations: 78.77 kB / 402.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.2839, allocations: 186.4 kB / 403 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.2842, allocations: 195.8 kB / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.2843, allocations: 28.47 kB / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.2844, allocations: 68.03 kB / 403.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.2845, allocations: 94.38 kB / 403.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.2847, allocations: 181.4 kB / 403.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.2852, allocations: 466.3 kB / 404 MB, free: 5.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2852, allocations: 4 kB / 404 MB, free: 5.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2852, allocations: 5.094 kB / 404 MB, free: 5.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.2852, allocations: 0 / 404 MB, free: 5.473 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009277/0.2862, allocations: 0.6238 MB / 404.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2862, allocations: 13.86 kB / 404.7 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.534e-05/0.2863, allocations: 46.47 kB / 404.7 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.2867, allocations: 263 kB / 405 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.2868, allocations: 18.78 kB / 405 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.2868, allocations: 28.34 kB / 405 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.2873, allocations: 295.6 kB / 405.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2873, allocations: 1.125 kB / 405.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.2874, allocations: 16.23 kB / 405.3 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.2874, allocations: 5.688 kB / 405.3 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.2877, allocations: 176.2 kB / 405.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.289, allocations: 0.8077 MB / 406.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.2895, allocations: 240.2 kB / 406.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.2897, allocations: 96.77 kB / 406.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.2897, allocations: 4.297 kB / 406.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.29, allocations: 163.4 kB / 406.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.255e-06/0.29, allocations: 3.984 kB / 406.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002116/0.2921, allocations: 1.099 MB / 407.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.2922, allocations: 190.2 kB / 408.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.2925, allocations: 346.9 kB / 408.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.2925, allocations: 36.45 kB / 408.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2926, allocations: 188.3 kB / 408.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.586e-05/0.2927, allocations: 157.9 kB / 408.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.2928, allocations: 74.33 kB / 408.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.2929, allocations: 352 kB / 409.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.293, allocations: 86.66 kB / 409.3 MB, free: 1.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.2932, allocations: 182.9 kB / 409.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.2936, allocations: 243.2 kB / 409.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2936, allocations: 1.281 kB / 409.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00049/0.2941, allocations: 360.5 kB / 410.1 MB, free: 1.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2941, allocations: 7.016 kB / 410.1 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2941, allocations: 1.031 kB / 410.1 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-05/0.2942, allocations: 20.23 kB / 410.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.2945, allocations: 89.83 kB / 410.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007673/0.2953, allocations: 1.285 MB / 411.5 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.2955, allocations: 16.06 kB / 411.5 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.2955, allocations: 12.78 kB / 411.5 MB, free: 212 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.2957, allocations: 171.5 kB / 411.7 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.2957, allocations: 40.58 kB / 411.7 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006291/0.2963, allocations: 340.2 kB / 412.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2963, allocations: 3.594 kB / 412.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2963, allocations: 5.219 kB / 412.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007077/0.2971, allocations: 0.6603 MB / 412.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.2983, allocations: 0.8165 MB / 413.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2983, allocations: 1.219 kB / 413.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.2987, allocations: 73.2 kB / 413.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2987, allocations: 2.281 kB / 413.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.2987, allocations: 13.75 kB / 413.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.2987, allocations: 3.078 kB / 413.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2987, allocations: 10.06 kB / 413.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.2995, allocations: 0.5487 MB / 414.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.2996, allocations: 58.22 kB / 414.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.2997, allocations: 17.05 kB / 414.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2999, allocations: 17.94 kB / 414.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.3, allocations: 34.55 kB / 414.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.3, allocations: 14.28 kB / 414.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002846/0.3003, allocations: 255.7 kB / 414.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3003, allocations: 0 / 414.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004188/0.3007, allocations: 94.56 kB / 414.7 MB, free: 14.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001616/0.3023, allocations: 433.6 kB / 415.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006784/0.303, allocations: 362.8 kB / 415.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.303, allocations: 0.9375 kB / 415.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.3032, allocations: 124.2 kB / 415.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.3038, allocations: 109.5 kB / 415.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.3057, allocations: 1.073 MB / 416.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.3061, allocations: 0.8037 MB / 417.6 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3062, allocations: 42.3 kB / 417.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3062, allocations: 0 / 417.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of Templates: time 0.009546/0.3158, allocations: 5.774 MB / 423.4 MB, free: 8.852 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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: 8.190399650018662]