Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001615/0.001615, allocations: 106 kB / 21.18 MB, free: 0.6992 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.00204/0.00204, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.499/1.499, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [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.001894/0.001894, allocations: 56.38 kB / 347.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2788, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003134/0.2819, allocations: 2.37 MB / 399.2 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008306/0.2828, allocations: 0.6282 MB / 399.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.2829, allocations: 3.438 kB / 399.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.283, allocations: 47.98 kB / 399.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.2831, allocations: 66.45 kB / 399.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.2833, allocations: 62.28 kB / 400 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.2836, allocations: 253.1 kB / 400.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.2837, allocations: 74.11 kB / 400.3 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.2839, allocations: 102.9 kB / 400.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.284, allocations: 106.7 kB / 400.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.284, allocations: 22.75 kB / 400.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.2841, allocations: 18.88 kB / 400.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.2841, allocations: 45.77 kB / 400.6 MB, free: 7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2842, allocations: 115.3 kB / 400.7 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.2845, allocations: 250.6 kB / 400.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2845, allocations: 3.938 kB / 400.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2845, allocations: 0.7031 kB / 400.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2845, allocations: 0 / 400.9 MB, free: 6.832 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006279/0.2852, allocations: 449.2 kB / 401.4 MB, free: 6.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.2852, allocations: 14.45 kB / 401.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.2853, allocations: 24.33 kB / 401.4 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.2855, allocations: 182.4 kB / 401.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2855, allocations: 13.03 kB / 401.6 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.2856, allocations: 22.38 kB / 401.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.2859, allocations: 215.6 kB / 401.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.2859, allocations: 14.12 kB / 401.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.2859, allocations: 9.312 kB / 401.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2859, allocations: 5.75 kB / 401.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.2862, allocations: 124.8 kB / 402 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/0.287, allocations: 0.6685 MB / 402.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.2873, allocations: 137.5 kB / 402.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2874, allocations: 65.08 kB / 402.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.2874, allocations: 2.125 kB / 402.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.2874, allocations: 32.06 kB / 402.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.2874, allocations: 0 / 402.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001305/0.2887, allocations: 0.748 MB / 403.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.2887, allocations: 54.62 kB / 403.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.2889, allocations: 172.3 kB / 403.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.2889, allocations: 35.08 kB / 403.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.2889, allocations: 140.7 kB / 404 MB, free: 4.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.289, allocations: 95.02 kB / 404.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.289, allocations: 44.62 kB / 404.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.2891, allocations: 333 kB / 404.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2892, allocations: 57.69 kB / 404.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2893, allocations: 97.3 kB / 404.7 MB, free: 4.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.2896, allocations: 169.7 kB / 404.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2896, allocations: 0 / 404.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003922/0.29, allocations: 255.1 kB / 405.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.29, allocations: 4.656 kB / 405.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.29, allocations: 2.188 kB / 405.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.2901, allocations: 36.02 kB / 405.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.2903, allocations: 51 kB / 405.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008123/0.2912, allocations: 1.377 MB / 406.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2913, allocations: 8.375 kB / 406.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.2913, allocations: 15.28 kB / 406.6 MB, free: 2.539 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.623e-05/0.2914, allocations: 131.7 kB / 406.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.2914, allocations: 26.64 kB / 406.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.2915, allocations: 27.14 kB / 406.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2915, allocations: 6.844 kB / 406.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2915, allocations: 3.938 kB / 406.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2915, allocations: 1.609 kB / 406.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007672/0.2922, allocations: 0.6174 MB / 407.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2922, allocations: 0 / 407.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.2924, allocations: 44.19 kB / 407.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.2925, allocations: 36.67 kB / 407.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2926, allocations: 11.3 kB / 407.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007644/0.2933, allocations: 1.378 MB / 408.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2933, allocations: 2.109 kB / 408.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.2938, allocations: 403.3 kB / 409.2 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.2938, allocations: 22.16 kB / 409.3 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.2938, allocations: 7.406 kB / 409.3 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.294, allocations: 8.156 kB / 409.3 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.294, allocations: 27.61 kB / 409.3 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.294, allocations: 6.203 kB / 409.3 MB, free: 272 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.692e-05/0.2941, allocations: 128.2 kB / 409.4 MB, free: 180 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2941, allocations: 0 / 409.4 MB, free: 180 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.2944, allocations: 58.88 kB / 409.5 MB, free: 172 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.561e-05/0.2945, allocations: 109.7 kB / 409.6 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.295, allocations: 285.4 kB / 409.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.295, allocations: 0 / 409.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.2953, allocations: 209.1 kB / 410.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.2957, allocations: 39.05 kB / 410.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.2969, allocations: 0.6868 MB / 410.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.2973, allocations: 0.7539 MB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.757e-05/0.2974, allocations: 18.84 kB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.2974, allocations: 18.62 kB / 411.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2974, allocations: 0 / 411.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of Templates: time 0.006352/0.3038, allocations: 2.562 MB / 414.2 MB, free: 13.78 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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: 4.598505778238177]