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.001028/0.001029, allocations: 110.9 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.001108/0.001108, allocations: 208 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.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2106, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003412/0.214, allocations: 2.321 MB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2153, allocations: 0.8606 MB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.2154, allocations: 4 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.2157, allocations: 47.58 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.2159, allocations: 107.2 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.2161, allocations: 83.83 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.2164, allocations: 279.4 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.2166, allocations: 75.09 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.2168, allocations: 123.5 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.217, allocations: 123.5 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.217, allocations: 20 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.2172, allocations: 87.89 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.2172, allocations: 47.84 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.2173, allocations: 123.4 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.2177, allocations: 304.2 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2177, allocations: 4 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2177, allocations: 0 / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2177, allocations: 0 / 414.5 MB, free: 12.99 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.0007673/0.2185, allocations: 0.5379 MB / 415 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2185, allocations: 12.03 kB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.2187, allocations: 32.64 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.219, allocations: 251.9 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.219, allocations: 12.75 kB / 415.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.2191, allocations: 28.28 kB / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.2195, allocations: 211 kB / 415.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2195, allocations: 0 / 415.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.2195, allocations: 8 kB / 415.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.2195, allocations: 7.938 kB / 415.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.2199, allocations: 163 kB / 415.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.2209, allocations: 0.774 MB / 416.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.2213, allocations: 142.8 kB / 416.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.2214, allocations: 76.83 kB / 416.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.2215, allocations: 3.938 kB / 416.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.2215, allocations: 38.56 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.2215, allocations: 0 / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001779/0.2233, allocations: 0.9982 MB / 417.8 MB, free: 9.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.2233, allocations: 55.41 kB / 417.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.2235, allocations: 222.8 kB / 418.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.2236, allocations: 33.7 kB / 418.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.2236, allocations: 132.3 kB / 418.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.2237, allocations: 74.91 kB / 418.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.2238, allocations: 49.7 kB / 418.3 MB, free: 8.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.2239, allocations: 334.8 kB / 418.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.2241, allocations: 67.97 kB / 418.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.2242, allocations: 111.4 kB / 418.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.2245, allocations: 159.3 kB / 419 MB, free: 8.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2245, allocations: 0 / 419 MB, free: 8.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004735/0.225, allocations: 270 kB / 419.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.225, allocations: 8 kB / 419.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2251, allocations: 4 kB / 419.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.2253, allocations: 56.81 kB / 419.3 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2254, allocations: 47.91 kB / 419.4 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.2271, allocations: 1.807 MB / 421.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.2274, allocations: 28.06 kB / 421.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.2274, allocations: 12 kB / 421.2 MB, free: 5.758 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.0001246/0.2275, allocations: 129.8 kB / 421.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.2276, allocations: 15.81 kB / 421.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.2276, allocations: 33.8 kB / 421.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2277, allocations: 4 kB / 421.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2277, allocations: 0 / 421.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.2278, allocations: 120.7 kB / 421.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.2278, allocations: 4 kB / 421.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.228, allocations: 23.95 kB / 421.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.2281, allocations: 23.95 kB / 421.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007162/0.2288, allocations: 321.6 kB / 421.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005628/0.2294, allocations: 443.4 kB / 422.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001457/0.2295, allocations: 71.53 kB / 422.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.2297, allocations: 160.6 kB / 422.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of Backend: time 4.31e-07/0.2297, allocations: 4 kB / 422.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.2315, allocations: 0.7403 MB / 423.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of SimCode: time 0.001177/0.2327, allocations: 1.109 MB / 424.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of Templates: time 0.007875/0.2406, allocations: 4.112 MB / 428.5 MB, free: 14.57 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