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) 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.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 109.4 kB / 18.4 MB, free: 4.668 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.001751/0.001751, allocations: 185.2 kB / 19.33 MB, free: 3.75 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.381/1.381, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001247/0.001247, allocations: 51.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09419, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004078/0.09832, allocations: 2.334 MB / 378.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.0996, allocations: 0.6278 MB / 378.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.0998, allocations: 7.938 kB / 378.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.1, allocations: 31.66 kB / 378.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.1002, allocations: 75.33 kB / 378.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1005, allocations: 55.92 kB / 378.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.1008, allocations: 258.8 kB / 379.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.1011, allocations: 88.28 kB / 379.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.1012, allocations: 95.64 kB / 379.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1014, allocations: 107.5 kB / 379.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.1015, allocations: 16 kB / 379.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.545e-05/0.1016, allocations: 24 kB / 379.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.116e-05/0.1016, allocations: 51.77 kB / 379.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.1018, allocations: 119.4 kB / 379.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.1021, allocations: 247.1 kB / 379.9 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1021, allocations: 0 / 379.9 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1021, allocations: 0 / 379.9 MB, free: 436 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1021, allocations: 4 kB / 379.9 MB, free: 432 kB / 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.2135/0.3156, allocations: 0.4933 MB / 380.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3157, allocations: 13.77 kB / 380.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.3158, allocations: 29.61 kB / 380.5 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3162, allocations: 243.7 kB / 380.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3162, allocations: 17.47 kB / 380.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.3163, allocations: 26.17 kB / 380.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.3167, allocations: 213.4 kB / 381 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3167, allocations: 2.531 kB / 381 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.3167, allocations: 12.03 kB / 381 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.3167, allocations: 5.281 kB / 381 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.317, allocations: 125.6 kB / 381.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009981/0.318, allocations: 0.706 MB / 381.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.3183, allocations: 144 kB / 381.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3184, allocations: 71.88 kB / 382 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3184, allocations: 1.844 kB / 382 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.3185, allocations: 39.95 kB / 382.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.3185, allocations: 0 / 382.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001532/0.32, allocations: 0.882 MB / 382.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.32, allocations: 65.28 kB / 383 MB, free: 11.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.3202, allocations: 171.8 kB / 383.2 MB, free: 11.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3202, allocations: 29.7 kB / 383.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.3203, allocations: 143.8 kB / 383.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.3203, allocations: 88.3 kB / 383.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.3204, allocations: 46.42 kB / 383.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.3205, allocations: 329.4 kB / 383.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3207, allocations: 57.08 kB / 383.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.3209, allocations: 96.88 kB / 383.9 MB, free: 10.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.3212, allocations: 174.2 kB / 384.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3212, allocations: 0 / 384.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004457/0.3216, allocations: 255.3 kB / 384.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3216, allocations: 5.344 kB / 384.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3217, allocations: 2.125 kB / 384.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.3218, allocations: 34.67 kB / 384.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.322, allocations: 49.58 kB / 384.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009865/0.323, allocations: 1.491 MB / 385.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.3232, allocations: 13.31 kB / 386 MB, free: 9.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.3232, allocations: 6.844 kB / 386 MB, free: 9.285 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 0.0001466/0.3234, allocations: 136.7 kB / 386.1 MB, free: 9.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.3234, allocations: 16.09 kB / 386.1 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.3235, allocations: 24.83 kB / 386.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3235, allocations: 2.438 kB / 386.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3235, allocations: 5.125 kB / 386.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3235, allocations: 5.875 kB / 386.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008465/0.3243, allocations: 0.6465 MB / 386.8 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3244, allocations: 0 / 386.8 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.3246, allocations: 45.28 kB / 386.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.3247, allocations: 35.75 kB / 386.9 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3247, allocations: 7.094 kB / 386.9 MB, free: 8.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008805/0.3256, allocations: 1.49 MB / 388.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3256, allocations: 4.484 kB / 388.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005196/0.3262, allocations: 404.5 kB / 388.8 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.3262, allocations: 96.28 kB / 388.9 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3262, allocations: 3.703 kB / 388.9 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3264, allocations: 7.688 kB / 388.9 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.3264, allocations: 17.66 kB / 388.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.3264, allocations: 6.906 kB / 388.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.487e-05/0.3265, allocations: 136.4 kB / 389 MB, free: 6.691 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3266, allocations: 4 kB / 389 MB, free: 6.688 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.3269, allocations: 59.5 kB / 389.1 MB, free: 6.68 MB / 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 0.0001192/0.327, allocations: 110.6 kB / 389.2 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005294/0.3276, allocations: 292.5 kB / 389.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3276, allocations: 0.8125 kB / 389.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.3279, allocations: 212.2 kB / 389.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.3284, allocations: 44.38 kB / 389.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3295, allocations: 0.7032 MB / 390.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.3298, allocations: 0.7493 MB / 391.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.3298, allocations: 20.61 kB / 391.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3298, allocations: 0 / 391.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of Templates: time 0.007267/0.3371, allocations: 3.475 MB / 394.7 MB, free: 4.742 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches