Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.001696/0.001696, allocations: 107.6 kB / 21.18 MB, free: 452 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.001853/0.001853, allocations: 214.5 kB / 24.47 MB, free: 3.777 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.485/1.485, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.Mechanics.Rotational.Examples.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") [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.001829/0.001829, allocations: 60.3 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2902, allocations: 49.15 MB / 396.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003207/0.2934, allocations: 2.23 MB / 399.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2945, allocations: 0.6006 MB / 399.7 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.2946, allocations: 7.938 kB / 399.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.2948, allocations: 39.58 kB / 399.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.2949, allocations: 77.33 kB / 399.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.2952, allocations: 58.91 kB / 399.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.2955, allocations: 275.9 kB / 400.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.2957, allocations: 69.7 kB / 400.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.2959, allocations: 113.6 kB / 400.3 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.2961, allocations: 98.91 kB / 400.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.2961, allocations: 20.91 kB / 400.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.076e-05/0.2962, allocations: 21.38 kB / 400.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.2962, allocations: 53.33 kB / 400.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.2963, allocations: 104.6 kB / 400.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.2967, allocations: 263.8 kB / 400.8 MB, free: 6.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2967, allocations: 1.031 kB / 400.8 MB, free: 6.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2967, allocations: 0 / 400.8 MB, free: 6.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.2967, allocations: 0 / 400.8 MB, free: 6.883 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007284/0.2975, allocations: 464.3 kB / 401.3 MB, free: 6.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2975, allocations: 13.23 kB / 401.3 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.2976, allocations: 31.03 kB / 401.3 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.2979, allocations: 183 kB / 401.5 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2979, allocations: 16.69 kB / 401.5 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.2979, allocations: 31.64 kB / 401.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.2983, allocations: 197.5 kB / 401.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.2983, allocations: 5.312 kB / 401.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.2984, allocations: 9.5 kB / 401.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2984, allocations: 6.219 kB / 401.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.2987, allocations: 136.6 kB / 401.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.2995, allocations: 0.5017 MB / 402.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.2998, allocations: 160.9 kB / 402.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.3, allocations: 85.47 kB / 402.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3, allocations: 6.344 kB / 402.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3, allocations: 36.81 kB / 402.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.3, allocations: 0 / 402.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001748/0.3018, allocations: 0.9156 MB / 403.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.3018, allocations: 58.09 kB / 403.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3019, allocations: 173.3 kB / 403.8 MB, free: 4.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3019, allocations: 29.7 kB / 403.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.302, allocations: 143 kB / 404 MB, free: 4.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.3021, allocations: 117 kB / 404.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.3021, allocations: 56.22 kB / 404.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.3022, allocations: 330 kB / 404.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3023, allocations: 70.28 kB / 404.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.3025, allocations: 107.7 kB / 404.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.3028, allocations: 196.5 kB / 404.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3028, allocations: 7.938 kB / 404.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004908/0.3033, allocations: 295.3 kB / 405.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3033, allocations: 6.844 kB / 405.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3033, allocations: 1.281 kB / 405.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.3035, allocations: 41.31 kB / 405.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.3038, allocations: 56.62 kB / 405.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.3049, allocations: 1.612 MB / 406.9 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.305, allocations: 9.719 kB / 406.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.3051, allocations: 10.88 kB / 406.9 MB, free: 2.438 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.3052, allocations: 141.8 kB / 407 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.3052, allocations: 22.05 kB / 407.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.3053, allocations: 35.62 kB / 407.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3053, allocations: 5.094 kB / 407.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3053, allocations: 192 / 407.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.3053, allocations: 6.438 kB / 407.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.3062, allocations: 0.6734 MB / 407.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3062, allocations: 0 / 407.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3065, allocations: 67.38 kB / 407.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.3066, allocations: 35.53 kB / 407.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3066, allocations: 6.688 kB / 407.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008188/0.3074, allocations: 1.355 MB / 409.2 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3074, allocations: 2.578 kB / 409.2 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006743/0.3081, allocations: 496.8 kB / 409.7 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.3081, allocations: 20.09 kB / 409.8 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.3082, allocations: 7.406 kB / 409.8 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3083, allocations: 17.31 kB / 409.8 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.3084, allocations: 23.31 kB / 409.8 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3084, allocations: 7.625 kB / 409.8 MB, free: 120 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.3085, allocations: 119.6 kB / 409.9 MB, free: 32 kB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3085, allocations: 0 / 409.9 MB, free: 32 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004058/0.3089, allocations: 68.38 kB / 410 MB, free: 20 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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 0.0001751/0.3091, allocations: 106.3 kB / 410.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006882/0.3098, allocations: 323 kB / 410.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3098, allocations: 0 / 410.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.3101, allocations: 237.2 kB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.3106, allocations: 55.2 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.3121, allocations: 0.7269 MB / 411.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.3123, allocations: 146 kB / 411.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.271e-05/0.3124, allocations: 25.28 kB / 411.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.3124, allocations: 20.73 kB / 411.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3125, allocations: 0 / 411.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Templates: time 0.008139/0.3206, allocations: 2.954 MB / 414.6 MB, free: 13.89 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.594475455582142]