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.00148/0.00148, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2992, allocations: 50.55 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00356/0.3028, allocations: 2.348 MB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.304, allocations: 0.6582 MB / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.3042, allocations: 11.94 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.3044, allocations: 31.66 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.3045, allocations: 67.36 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.3048, allocations: 63.84 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.3051, allocations: 262.7 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.3053, allocations: 92.28 kB / 413.4 MB, free: 14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.3055, allocations: 107.6 kB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3056, allocations: 103.5 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.3057, allocations: 16 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.282e-05/0.3057, allocations: 31.98 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.3058, allocations: 39.86 kB / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.3059, allocations: 123.3 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.3062, allocations: 248.3 kB / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3062, allocations: 0 / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3062, allocations: 4 kB / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.3062, allocations: 0 / 414.1 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.000761/0.307, allocations: 0.5145 MB / 414.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3071, allocations: 12.03 kB / 414.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.3072, allocations: 36.64 kB / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.3076, allocations: 244.6 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.3077, allocations: 20.81 kB / 414.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.3077, allocations: 20.38 kB / 414.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.3081, allocations: 210.2 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3081, allocations: 3.906 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.3081, allocations: 12 kB / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3081, allocations: 4 kB / 415.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.3084, allocations: 129.6 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009325/0.3093, allocations: 0.7054 MB / 416 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.3096, allocations: 145.5 kB / 416.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.3097, allocations: 72.83 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3098, allocations: 8 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3098, allocations: 34.56 kB / 416.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.3098, allocations: 0 / 416.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001536/0.3114, allocations: 0.8877 MB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.3114, allocations: 59.39 kB / 417.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3116, allocations: 181.1 kB / 417.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.3116, allocations: 29.7 kB / 417.4 MB, free: 9.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.3117, allocations: 144.2 kB / 417.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.206e-05/0.3118, allocations: 82.77 kB / 417.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.3118, allocations: 45.7 kB / 417.7 MB, free: 9.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.312, allocations: 334.8 kB / 418 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.3121, allocations: 59.97 kB / 418.1 MB, free: 9.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3123, allocations: 96.25 kB / 418.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.3125, allocations: 172.1 kB / 418.3 MB, free: 8.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3125, allocations: 0 / 418.3 MB, free: 8.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004232/0.313, allocations: 257.9 kB / 418.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.313, allocations: 4 kB / 418.6 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.313, allocations: 3.984 kB / 418.6 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.3132, allocations: 40.95 kB / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.3134, allocations: 43.98 kB / 418.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.3146, allocations: 1.488 MB / 420.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3148, allocations: 12.02 kB / 420.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.3148, allocations: 15.94 kB / 420.2 MB, free: 6.77 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.0001302/0.3149, allocations: 129.8 kB / 420.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.315, allocations: 19.88 kB / 420.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.315, allocations: 29.88 kB / 420.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.315, allocations: 7.922 kB / 420.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3151, allocations: 0 / 420.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3151, allocations: 4 kB / 420.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008685/0.3159, allocations: 0.6479 MB / 421 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.316, allocations: 4 kB / 421 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.3162, allocations: 43.97 kB / 421.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.3163, allocations: 28.84 kB / 421.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3163, allocations: 11.94 kB / 421.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.3174, allocations: 1.485 MB / 422.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3175, allocations: 3.938 kB / 422.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.318, allocations: 402.1 kB / 423 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.3181, allocations: 92.83 kB / 423.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.3181, allocations: 8 kB / 423.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.3182, allocations: 8 kB / 423.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.3183, allocations: 27.95 kB / 423.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.3183, allocations: 4 kB / 423.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.331e-05/0.3184, allocations: 124.1 kB / 423.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3184, allocations: 0 / 423.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.3187, allocations: 60 kB / 423.3 MB, free: 3.379 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.000123/0.3189, allocations: 114.7 kB / 423.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005285/0.3194, allocations: 286 kB / 423.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3194, allocations: 3.938 kB / 423.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.3197, allocations: 222.5 kB / 423.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.3202, allocations: 39.91 kB / 424 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3213, allocations: 0.6905 MB / 424.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3216, allocations: 0.7482 MB / 425.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.3217, allocations: 27.38 kB / 425.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3217, allocations: 0 / 425.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of Templates: time 0.005209/0.3269, allocations: 3.493 MB / 428.9 MB, free: 13.66 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches