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.001439/0.001439, allocations: 109.4 kB / 17.73 MB, free: 5.363 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.001629/0.001629, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.503/1.503, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001203/0.001203, allocations: 51.91 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.09315, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003476/0.09667, allocations: 2.345 MB / 377.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.0978, allocations: 0.6239 MB / 378.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.09794, allocations: 7.938 kB / 378.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.09812, allocations: 35.66 kB / 378.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.09827, allocations: 71.34 kB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.0985, allocations: 51.92 kB / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.09879, allocations: 258.8 kB / 378.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.099, allocations: 88.28 kB / 378.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.09916, allocations: 99.66 kB / 378.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.09933, allocations: 111.5 kB / 378.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.09938, allocations: 24 kB / 378.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.733e-05/0.09942, allocations: 16 kB / 378.9 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.09947, allocations: 47.78 kB / 378.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.09958, allocations: 119.4 kB / 379 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.09986, allocations: 247.1 kB / 379.3 MB, free: 452 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.09987, allocations: 0 / 379.3 MB, free: 452 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.09988, allocations: 0 / 379.3 MB, free: 452 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.09989, allocations: 3.938 kB / 379.3 MB, free: 448 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.1989/0.2988, allocations: 0.5006 MB / 379.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.2988, allocations: 13.05 kB / 379.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.2989, allocations: 25.09 kB / 379.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.2993, allocations: 239.2 kB / 380 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.2993, allocations: 16.44 kB / 380 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.2994, allocations: 27.06 kB / 380.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.2998, allocations: 213.1 kB / 380.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2998, allocations: 2.703 kB / 380.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.2999, allocations: 12.47 kB / 380.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.2999, allocations: 5.234 kB / 380.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.3002, allocations: 126.4 kB / 380.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.3012, allocations: 0.704 MB / 381.1 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.3015, allocations: 150.2 kB / 381.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.3016, allocations: 69.11 kB / 381.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3016, allocations: 2.266 kB / 381.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.3016, allocations: 38.73 kB / 381.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.3017, allocations: 1.375 kB / 381.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001512/0.3032, allocations: 0.8773 MB / 382.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.3032, allocations: 59.91 kB / 382.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.3034, allocations: 175.2 kB / 382.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3034, allocations: 27.69 kB / 382.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.3035, allocations: 146 kB / 382.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.3036, allocations: 92 kB / 382.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.3036, allocations: 45.45 kB / 382.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.3037, allocations: 329.1 kB / 383.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3039, allocations: 54.64 kB / 383.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.304, allocations: 100.7 kB / 383.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.3043, allocations: 170.6 kB / 383.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3043, allocations: 0 / 383.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000444/0.3048, allocations: 257.7 kB / 383.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3048, allocations: 6.688 kB / 383.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3048, allocations: 1.094 kB / 383.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.305, allocations: 35.83 kB / 383.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.3052, allocations: 52.2 kB / 383.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000918/0.3061, allocations: 1.485 MB / 385.3 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.3063, allocations: 9.078 kB / 385.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3063, allocations: 7.359 kB / 385.3 MB, free: 9.305 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.000118/0.3064, allocations: 136.8 kB / 385.4 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.3065, allocations: 18.27 kB / 385.4 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.3065, allocations: 26.33 kB / 385.5 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3065, allocations: 3.156 kB / 385.5 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3065, allocations: 5 kB / 385.5 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3065, allocations: 1.406 kB / 385.5 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008022/0.3074, allocations: 0.6543 MB / 386.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3074, allocations: 5.312 kB / 386.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.3076, allocations: 45.08 kB / 386.2 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.3077, allocations: 37.3 kB / 386.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3077, allocations: 7.031 kB / 386.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008275/0.3086, allocations: 1.489 MB / 387.7 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3086, allocations: 0 / 387.7 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/0.3091, allocations: 409 kB / 388.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.3091, allocations: 91.05 kB / 388.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.3092, allocations: 7.297 kB / 388.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3093, allocations: 5.344 kB / 388.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.3093, allocations: 18.81 kB / 388.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3094, allocations: 8.969 kB / 388.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.024e-05/0.3094, allocations: 138.6 kB / 388.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3095, allocations: 0 / 388.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.3098, allocations: 57.88 kB / 388.4 MB, free: 6.695 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.0001004/0.3099, allocations: 103.2 kB / 388.5 MB, free: 6.598 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000506/0.3104, allocations: 296 kB / 388.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3104, allocations: 0 / 388.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.3107, allocations: 211.2 kB / 389 MB, free: 6.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3111, allocations: 39.83 kB / 389.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3122, allocations: 0.68 MB / 389.7 MB, free: 5.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.3124, allocations: 0.751 MB / 390.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.56e-05/0.3125, allocations: 17.02 kB / 390.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.3125, allocations: 19.39 kB / 390.5 MB, free: 5.105 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3125, allocations: 0 / 390.5 MB, free: 5.105 MB / 318.1 MB Notification: Performance of Templates: time 0.00593/0.3185, allocations: 2.411 MB / 392.9 MB, free: 4.918 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/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) Reference file matches