Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.OneWayClutch,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.OneWayClutch") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,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.OneWayClutch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001504, allocations: 111 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.001086/0.001086, allocations: 207.9 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.321/1.321, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2128, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.003396/0.2162, allocations: 2.278 MB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2177, allocations: 0.8646 MB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.2178, allocations: 4 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.2181, allocations: 51.58 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.2184, allocations: 107.2 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.2186, allocations: 83.83 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.219, allocations: 299.3 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.2191, allocations: 56.36 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.2194, allocations: 143.5 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.2196, allocations: 131.5 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.2196, allocations: 20 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.2198, allocations: 83.89 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.2199, allocations: 51.84 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.22, allocations: 119.4 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.2204, allocations: 320.1 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2204, allocations: 4 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.2204, allocations: 0 / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2204, allocations: 3.938 kB / 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001008/0.2214, allocations: 0.586 MB / 415.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2215, allocations: 8.031 kB / 415.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.2217, allocations: 40.64 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.222, allocations: 249.5 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.222, allocations: 12.38 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.2221, allocations: 20.38 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.2226, allocations: 231.3 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.2226, allocations: 7.844 kB / 415.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.2226, allocations: 15.98 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2227, allocations: 4 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.2231, allocations: 175.9 kB / 415.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009291/0.2241, allocations: 0.6369 MB / 416.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.2247, allocations: 210.4 kB / 416.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.2249, allocations: 104.7 kB / 416.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.2249, allocations: 8 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003715/0.2253, allocations: 167.2 kB / 417 MB, free: 10.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.2253, allocations: 0 / 417 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.002469/0.2278, allocations: 1.164 MB / 418.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.2279, allocations: 55.41 kB / 418.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.2281, allocations: 199.4 kB / 418.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.2281, allocations: 33.7 kB / 418.4 MB, free: 8.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.2282, allocations: 136.3 kB / 418.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.2283, allocations: 86.75 kB / 418.6 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.2284, allocations: 53.7 kB / 418.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2285, allocations: 330.8 kB / 419 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.2288, allocations: 103.9 kB / 419.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.2291, allocations: 152.1 kB / 419.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.2296, allocations: 230.6 kB / 419.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2296, allocations: 7.938 kB / 419.5 MB, free: 7.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008084/0.2304, allocations: 377.6 kB / 419.9 MB, free: 7.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.2304, allocations: 33.7 kB / 419.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2305, allocations: 0 / 419.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.2307, allocations: 64.88 kB / 419.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.2309, allocations: 55.84 kB / 420 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.2327, allocations: 1.791 MB / 421.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.233, allocations: 47.86 kB / 421.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.233, allocations: 12.06 kB / 421.9 MB, free: 5.098 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: 11 (signalEngagement.count,$PRE.signalEngagement.count,signalEngagement.T_start,$PRE.signalEngagement.T_start,oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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.0001393/0.2332, allocations: 146.1 kB / 422 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.2332, allocations: 23.72 kB / 422 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.042e-05/0.2333, allocations: 30.55 kB / 422 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2333, allocations: 0 / 422 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2333, allocations: 0 / 422 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.2334, allocations: 124.7 kB / 422.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.2335, allocations: 8 kB / 422.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.2337, allocations: 31.97 kB / 422.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/0.2338, allocations: 31.94 kB / 422.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001004/0.2348, allocations: 401.5 kB / 422.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009122/0.2357, allocations: 0.5386 MB / 423.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002694/0.236, allocations: 115.9 kB / 423.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.2362, allocations: 139.2 kB / 423.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of Backend: time 4.01e-07/0.2362, allocations: 0 / 423.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.2381, allocations: 0.8288 MB / 424.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of SimCode: time 0.001202/0.2394, allocations: 1.136 MB / 425.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of Templates: time 0.008474/0.2478, allocations: 4.849 MB / 430.2 MB, free: 12.8 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/OneWayClutch/OneWayClutch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches