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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007613/0.0007614, allocations: 99.31 kB / 297.5 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002189/0.0002189, allocations: 8 kB / 358.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2175, allocations: 51.29 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09721/0.3148, allocations: 79.16 MB / 488.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.315, allocations: 71.97 kB / 488.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01134/0.3264, allocations: 3.999 MB / 492.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3264, allocations: 0 / 492.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.3265, allocations: 8 kB / 492.6 MB, free: 8.305 MB / 362.7 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.0008743/0.3274, allocations: 491 kB / 493.1 MB, free: 7.777 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3274, allocations: 8.031 kB / 493.1 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.3276, allocations: 40.64 kB / 493.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.328, allocations: 228.6 kB / 493.4 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.3281, allocations: 20.8 kB / 493.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.3282, allocations: 28.28 kB / 493.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.3286, allocations: 214.1 kB / 493.6 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.3286, allocations: 4 kB / 493.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.3287, allocations: 8 kB / 493.6 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.3287, allocations: 4 kB / 493.6 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.329, allocations: 129.7 kB / 493.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3301, allocations: 0.7054 MB / 494.5 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.3304, allocations: 150.5 kB / 494.6 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.3305, allocations: 68.83 kB / 494.7 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3305, allocations: 4 kB / 494.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.3306, allocations: 38.56 kB / 494.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.206e-06/0.3306, allocations: 3.984 kB / 494.7 MB, free: 6.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001622/0.3322, allocations: 0.8936 MB / 495.6 MB, free: 5.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.3323, allocations: 55.41 kB / 495.7 MB, free: 4.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3324, allocations: 167.2 kB / 495.8 MB, free: 4.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3325, allocations: 29.7 kB / 495.9 MB, free: 4.754 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.3326, allocations: 148.5 kB / 496 MB, free: 4.602 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/0.3326, allocations: 86.75 kB / 496.1 MB, free: 4.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.3327, allocations: 7.938 kB / 496.1 MB, free: 4.508 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3328, allocations: 334.8 kB / 496.4 MB, free: 4.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.3329, allocations: 59.91 kB / 496.5 MB, free: 4.113 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3331, allocations: 97.31 kB / 496.6 MB, free: 4.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.3334, allocations: 180.2 kB / 496.8 MB, free: 3.812 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3334, allocations: 0 / 496.8 MB, free: 3.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000442/0.3338, allocations: 258 kB / 497 MB, free: 3.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3339, allocations: 8 kB / 497 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3339, allocations: 0 / 497 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.334, allocations: 36.83 kB / 497 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.3343, allocations: 47.92 kB / 497.1 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.3355, allocations: 1.374 MB / 498.5 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.3356, allocations: 20.08 kB / 498.5 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.3356, allocations: 11.94 kB / 498.5 MB, free: 1.914 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.3357, allocations: 133.8 kB / 498.6 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.3358, allocations: 15.81 kB / 498.6 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.3358, allocations: 25.88 kB / 498.7 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3359, allocations: 8 kB / 498.7 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3359, allocations: 0 / 498.7 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3359, allocations: 4.125 kB / 498.7 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.3368, allocations: 0.6596 MB / 499.3 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3368, allocations: 4.062 kB / 499.3 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.3371, allocations: 47.91 kB / 499.4 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.3372, allocations: 32.84 kB / 499.4 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.3372, allocations: 4 kB / 499.4 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.3383, allocations: 1.378 MB / 0.4891 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.3383, allocations: 3.938 kB / 0.4891 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.3389, allocations: 414.2 kB / 0.4895 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.339, allocations: 96.86 kB / 0.4896 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.339, allocations: 8 kB / 0.4896 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3391, allocations: 4 kB / 0.4896 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.3392, allocations: 23.97 kB / 0.4896 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3392, allocations: 4 kB / 0.4896 GB, free: 14.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.46e-05/0.3393, allocations: 127.2 kB / 0.4897 GB, free: 14.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.305e-06/0.3393, allocations: 0 / 0.4897 GB, free: 14.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000328/0.3396, allocations: 71.88 kB / 0.4898 GB, free: 14.61 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001391/0.3398, allocations: 111.2 kB / 0.4899 GB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005285/0.3403, allocations: 306.5 kB / 0.4902 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3403, allocations: 0 / 0.4902 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.3406, allocations: 210.6 kB / 0.4904 GB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.3411, allocations: 44.52 kB / 0.4904 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.3423, allocations: 0.8075 MB / 0.4912 GB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3426, allocations: 0.7523 MB / 0.492 GB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.555e-05/0.3427, allocations: 17.95 kB / 0.492 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.3427, allocations: 19.44 kB / 0.492 GB, free: 12.27 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3428, allocations: 0 / 0.492 GB, free: 12.27 MB / 378.7 MB Notification: Performance of Templates: time 0.00528/0.348, allocations: 2.175 MB / 0.4941 GB, free: 10.11 MB / 378.7 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","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches