Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008377/0.0008378, allocations: 176.3 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 241.4 MB, free: 9.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007339/0.0007339, allocations: 89.81 kB / 292.6 MB, free: 10.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002739, allocations: 11.94 kB / 352.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2371, allocations: 50.4 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09894/0.3361, allocations: 79.13 MB / 481.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.3363, allocations: 76.45 kB / 482 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01102/0.3473, allocations: 4.051 MB / 486 MB, free: 13.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3474, allocations: 4 kB / 486 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3474, allocations: 4 kB / 486 MB, free: 13.09 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006296/0.348, allocations: 499.1 kB / 486.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.465e-05/0.348, allocations: 8.031 kB / 486.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.3481, allocations: 24.66 kB / 486.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.3483, allocations: 227.9 kB / 486.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3483, allocations: 12.81 kB / 486.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.3484, allocations: 20.38 kB / 486.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.3487, allocations: 219.7 kB / 487 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3488, allocations: 12.09 kB / 487 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3488, allocations: 11.94 kB / 487 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3488, allocations: 4 kB / 487 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.3491, allocations: 157 kB / 487.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3502, allocations: 0.776 MB / 488 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.3505, allocations: 150.4 kB / 488.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.3507, allocations: 80.83 kB / 488.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3507, allocations: 3.984 kB / 488.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3507, allocations: 38.56 kB / 488.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.3507, allocations: 3.938 kB / 488.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001757/0.3525, allocations: 1.037 MB / 489.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.3526, allocations: 55.34 kB / 489.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.3527, allocations: 186.5 kB / 489.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3528, allocations: 25.7 kB / 489.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.3529, allocations: 144.2 kB / 489.7 MB, free: 9.094 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/0.3529, allocations: 78.98 kB / 489.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.3529, allocations: 4 kB / 489.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3531, allocations: 330.8 kB / 490.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3532, allocations: 75.95 kB / 490.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.3534, allocations: 111.6 kB / 490.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.3537, allocations: 170.4 kB / 490.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3537, allocations: 0 / 490.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004827/0.3542, allocations: 280.5 kB / 490.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.3542, allocations: 4 kB / 490.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3543, allocations: 7.984 kB / 490.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/0.3545, allocations: 64.81 kB / 490.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.3546, allocations: 39.92 kB / 490.8 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004343/0.3551, allocations: 0.6108 MB / 491.4 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.3553, allocations: 32 kB / 491.5 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.3553, allocations: 12 kB / 491.5 MB, free: 7.227 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.3554, allocations: 141.2 kB / 491.6 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.3555, allocations: 19.75 kB / 491.6 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005383/0.356, allocations: 266.8 kB / 491.9 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.356, allocations: 4 kB / 491.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.356, allocations: 0 / 491.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3561, allocations: 4 kB / 491.9 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/0.3569, allocations: 0.6185 MB / 492.5 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3569, allocations: 0 / 492.5 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.3571, allocations: 40.06 kB / 492.6 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001631/0.3573, allocations: 68.75 kB / 492.6 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.3573, allocations: 3.984 kB / 492.6 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003978/0.3577, allocations: 0.6031 MB / 493.2 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3577, allocations: 0 / 493.2 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.3583, allocations: 438.4 kB / 493.7 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-05/0.3584, allocations: 112.8 kB / 493.8 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.3585, allocations: 7.938 kB / 493.8 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.3587, allocations: 27.97 kB / 493.8 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.3588, allocations: 31.89 kB / 493.8 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3588, allocations: 4 kB / 493.8 MB, free: 4.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3589, allocations: 152.5 kB / 494 MB, free: 4.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3589, allocations: 0 / 494 MB, free: 4.551 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003365/0.3593, allocations: 67.94 kB / 494.1 MB, free: 4.484 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002115/0.3595, allocations: 131.2 kB / 494.2 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004972/0.36, allocations: 229.5 kB / 494.4 MB, free: 4.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.36, allocations: 0 / 494.4 MB, free: 4.113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.3602, allocations: 103.9 kB / 494.5 MB, free: 4.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3607, allocations: 39.08 kB / 494.5 MB, free: 3.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.362, allocations: 0.8311 MB / 495.4 MB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3623, allocations: 0.7404 MB / 496.1 MB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.069e-05/0.3624, allocations: 17.95 kB / 496.1 MB, free: 2.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.3624, allocations: 15.44 kB / 496.1 MB, free: 2.312 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3624, allocations: 0 / 496.1 MB, free: 2.312 MB / 362.7 MB Notification: Performance of Templates: time 0.006102/0.3686, allocations: 2.811 MB / 499 MB, free: 15.53 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches