Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, allocations: 114.3 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001771/0.001771, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.211, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003379/0.2145, allocations: 2.332 MB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2158, allocations: 0.8529 MB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.2159, allocations: 0 / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.2162, allocations: 51.58 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.2164, allocations: 107.2 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.2167, allocations: 87.77 kB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.217, allocations: 279.4 kB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2171, allocations: 64.31 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.2173, allocations: 123.5 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2176, allocations: 131.5 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.2176, allocations: 20 kB / 414 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.2178, allocations: 83.89 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.2178, allocations: 47.84 kB / 414.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.218, allocations: 123.4 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.2183, allocations: 306.7 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2183, allocations: 0 / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2184, allocations: 0 / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.2184, allocations: 0 / 414.5 MB, free: 12.98 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007866/0.2192, allocations: 0.5569 MB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2192, allocations: 12.03 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.2194, allocations: 28.8 kB / 415.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.2197, allocations: 252 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2197, allocations: 12.75 kB / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.2198, allocations: 24.33 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.2201, allocations: 215 kB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2202, allocations: 0 / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.2202, allocations: 12 kB / 415.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.2202, allocations: 7.938 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.2205, allocations: 159 kB / 415.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.2216, allocations: 0.7781 MB / 416.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.222, allocations: 142.8 kB / 416.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.2221, allocations: 72.83 kB / 416.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.2222, allocations: 4.281 kB / 416.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2222, allocations: 38.56 kB / 416.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.2222, allocations: 0 / 416.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001786/0.224, allocations: 0.9989 MB / 417.8 MB, free: 9.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.224, allocations: 55.41 kB / 417.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.2243, allocations: 214.8 kB / 418.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.2243, allocations: 33.7 kB / 418.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.2244, allocations: 140.4 kB / 418.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.2244, allocations: 71.38 kB / 418.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.2245, allocations: 57.7 kB / 418.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2246, allocations: 330.8 kB / 418.7 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.2248, allocations: 71.91 kB / 418.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.225, allocations: 107.4 kB / 418.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.2253, allocations: 163.3 kB / 419 MB, free: 8.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2253, allocations: 0 / 419 MB, free: 8.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000483/0.2258, allocations: 274.1 kB / 419.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2258, allocations: 10.81 kB / 419.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2258, allocations: 0 / 419.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.226, allocations: 64.88 kB / 419.4 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2262, allocations: 39.91 kB / 419.4 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.2279, allocations: 1.819 MB / 421.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.2281, allocations: 23.97 kB / 421.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2281, allocations: 8 kB / 421.2 MB, free: 5.723 MB / 334.1 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 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.2282, allocations: 133.9 kB / 421.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.2283, allocations: 19.86 kB / 421.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.2283, allocations: 37.8 kB / 421.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2283, allocations: 0 / 421.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2283, allocations: 0 / 421.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.2284, allocations: 112.9 kB / 421.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.2285, allocations: 11.92 kB / 421.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2287, allocations: 19.98 kB / 421.6 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.2288, allocations: 19.97 kB / 421.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006847/0.2294, allocations: 325.6 kB / 421.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005447/0.23, allocations: 449.8 kB / 422.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001424/0.2302, allocations: 67.97 kB / 422.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.2303, allocations: 156.6 kB / 422.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of Backend: time 3.4e-07/0.2303, allocations: 0 / 422.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.2321, allocations: 0.7422 MB / 423.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of SimCode: time 0.001091/0.2332, allocations: 1.117 MB / 424.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of Templates: time 0.007413/0.2406, allocations: 4.115 MB / 428.5 MB, free: 14.52 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches