Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2728, allocations: 50.55 MB / 409.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003405/0.2762, allocations: 2.367 MB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2773, allocations: 0.6466 MB / 412.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2774, allocations: 7.938 kB / 412.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.2776, allocations: 31.66 kB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.2777, allocations: 75.33 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.278, allocations: 59.86 kB / 412.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.2782, allocations: 262.7 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.2784, allocations: 96.27 kB / 412.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.2786, allocations: 99.64 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.2787, allocations: 111.5 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.2788, allocations: 20 kB / 413 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.2788, allocations: 24 kB / 413 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.2789, allocations: 47.84 kB / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.406e-05/0.279, allocations: 119.3 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.2793, allocations: 244.3 kB / 413.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2793, allocations: 8 kB / 413.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2793, allocations: 4 kB / 413.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2793, allocations: 0 / 413.4 MB, free: 13.35 MB / 334.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.0006811/0.28, allocations: 0.5106 MB / 413.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.2801, allocations: 11.97 kB / 414 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.2802, allocations: 36.64 kB / 414 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.2806, allocations: 248.5 kB / 414.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2806, allocations: 16.81 kB / 414.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.2806, allocations: 20.38 kB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.281, allocations: 214.2 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.281, allocations: 3.906 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.2811, allocations: 4 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2811, allocations: 11.98 kB / 414.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.2813, allocations: 133.6 kB / 414.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009131/0.2823, allocations: 0.6898 MB / 415.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.2825, allocations: 150.5 kB / 415.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.2827, allocations: 79.06 kB / 415.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2827, allocations: 0 / 415.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.2827, allocations: 34.56 kB / 415.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.082e-06/0.2827, allocations: 0 / 415.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001483/0.2842, allocations: 0.8935 MB / 416.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.2842, allocations: 55.41 kB / 416.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.2844, allocations: 173.2 kB / 416.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.2844, allocations: 33.7 kB / 416.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.2845, allocations: 148.2 kB / 416.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.2846, allocations: 86.75 kB / 417 MB, free: 9.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.2847, allocations: 49.7 kB / 417 MB, free: 9.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2848, allocations: 326.8 kB / 417.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.2849, allocations: 55.97 kB / 417.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.2851, allocations: 100.2 kB / 417.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.2853, allocations: 172.2 kB / 417.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2853, allocations: 0 / 417.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004018/0.2857, allocations: 253.9 kB / 417.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2858, allocations: 11.25 kB / 417.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2858, allocations: 4 kB / 417.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.286, allocations: 36.83 kB / 417.9 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.2862, allocations: 51.91 kB / 418 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.2873, allocations: 1.481 MB / 419.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2875, allocations: 12.08 kB / 419.5 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2875, allocations: 8 kB / 419.5 MB, free: 6.789 MB / 334.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.0001134/0.2876, allocations: 141.8 kB / 419.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.2877, allocations: 15.81 kB / 419.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.2877, allocations: 25.86 kB / 419.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2877, allocations: 7.938 kB / 419.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2877, allocations: 0 / 419.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.2877, allocations: 0 / 419.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.2887, allocations: 0.6557 MB / 420.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2887, allocations: 0 / 420.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.289, allocations: 47.91 kB / 420.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.2891, allocations: 36.77 kB / 420.4 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.2891, allocations: 8 kB / 420.4 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.2905, allocations: 1.485 MB / 421.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2905, allocations: 3.938 kB / 421.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.2911, allocations: 399.5 kB / 422.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.2912, allocations: 96.83 kB / 422.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.2912, allocations: 4.234 kB / 422.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2914, allocations: 8.031 kB / 422.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.2914, allocations: 23.92 kB / 422.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.2915, allocations: 11.98 kB / 422.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.2916, allocations: 132.1 kB / 422.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2916, allocations: 0 / 422.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003917/0.292, allocations: 56 kB / 422.6 MB, free: 3.383 MB / 334.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.0001453/0.2921, allocations: 107.2 kB / 422.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005742/0.2927, allocations: 290.7 kB / 423 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2927, allocations: 0 / 423 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.293, allocations: 214.5 kB / 423.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.2935, allocations: 40.28 kB / 423.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2947, allocations: 0.6677 MB / 423.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.2951, allocations: 0.7482 MB / 424.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.574e-05/0.2952, allocations: 21.94 kB / 424.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.2952, allocations: 23.38 kB / 424.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2952, allocations: 0 / 424.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of Templates: time 0.005787/0.301, allocations: 2.408 MB / 427.1 MB, free: 14.79 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches