Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 95.7 kB / 18.36 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 188.3 kB / 19.3 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 59.91 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07208/0.07342, allocations: 46.61 MB / 375.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.00296/0.0764, allocations: 2.161 MB / 377.9 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.07766, allocations: 0.7447 MB / 378.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.07779, allocations: 0 / 378.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.07797, allocations: 31.66 kB / 378.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.07815, allocations: 67.48 kB / 378.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.0785, allocations: 115.7 kB / 378.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.07883, allocations: 271.4 kB / 379.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.07897, allocations: 64.28 kB / 379.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.07916, allocations: 115.6 kB / 379.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.07936, allocations: 127.5 kB / 379.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.0794, allocations: 20 kB / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.07955, allocations: 75.94 kB / 379.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.07964, allocations: 55.77 kB / 379.6 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.07976, allocations: 107.5 kB / 379.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.08008, allocations: 279.1 kB / 380 MB, free: 388 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.08009, allocations: 0 / 380 MB, free: 388 kB / 318.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.0801, allocations: 0 / 380 MB, free: 388 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.08011, allocations: 0 / 380 MB, free: 388 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.1451/0.2252, allocations: 0.5594 MB / 380.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2253, allocations: 12.11 kB / 380.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.679e-05/0.2254, allocations: 26.02 kB / 380.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.2257, allocations: 237.5 kB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.2257, allocations: 13.14 kB / 380.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.2258, allocations: 26.73 kB / 380.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.2263, allocations: 235.3 kB / 381.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.2263, allocations: 2.031 kB / 381.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.2263, allocations: 13.72 kB / 381.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2263, allocations: 7.047 kB / 381.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/0.2269, allocations: 200.6 kB / 381.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009397/0.2278, allocations: 0.6552 MB / 381.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.2284, allocations: 198 kB / 382.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.2286, allocations: 106.3 kB / 382.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.2287, allocations: 4.953 kB / 382.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/0.229, allocations: 163.7 kB / 382.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.914e-06/0.229, allocations: 0 / 382.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002491/0.2315, allocations: 1.155 MB / 383.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.2315, allocations: 55.09 kB / 383.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.2317, allocations: 187.7 kB / 383.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.2317, allocations: 35.48 kB / 383.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.2318, allocations: 141.3 kB / 384 MB, free: 11.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.2319, allocations: 94.47 kB / 384.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.232, allocations: 64.52 kB / 384.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.232, allocations: 329.3 kB / 384.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.2323, allocations: 109.3 kB / 384.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.2326, allocations: 147.3 kB / 384.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.2331, allocations: 244.6 kB / 384.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2331, allocations: 3.938 kB / 384.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000831/0.2339, allocations: 397.8 kB / 385.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.234, allocations: 33.91 kB / 385.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.234, allocations: 0 / 385.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/0.2342, allocations: 82.53 kB / 385.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.2345, allocations: 53.38 kB / 385.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003556/0.2348, allocations: 0.6129 MB / 386.1 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.2351, allocations: 31.25 kB / 386.1 MB, free: 9.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.2352, allocations: 13.7 kB / 386.1 MB, free: 9.926 MB / 318.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 (32): * Single equations (assignments): 30 * 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.0001093/0.2353, allocations: 143.2 kB / 386.3 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.2353, allocations: 22.05 kB / 386.3 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.2354, allocations: 27.31 kB / 386.3 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2354, allocations: 1.359 kB / 386.3 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2354, allocations: 1.812 kB / 386.3 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/0.2355, allocations: 116.6 kB / 386.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.2355, allocations: 10.92 kB / 386.5 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.2358, allocations: 33.14 kB / 386.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.2359, allocations: 30.08 kB / 386.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009808/0.2369, allocations: 407.1 kB / 386.9 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008483/0.2377, allocations: 0.5314 MB / 387.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002646/0.238, allocations: 109.4 kB / 387.6 MB, free: 9.082 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.817e-05/0.2381, allocations: 143.5 kB / 387.7 MB, free: 8.984 MB / 318.1 MB Notification: Performance of Backend: time 3.91e-07/0.2381, allocations: 0 / 387.7 MB, free: 8.984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008606/0.239, allocations: 334.5 kB / 388 MB, free: 8.801 MB / 318.1 MB Notification: Performance of SimCode: time 0.001005/0.24, allocations: 1.087 MB / 389.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of Templates: time 0.008565/0.2486, allocations: 4.04 MB / 393.2 MB, free: 7.641 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutch/OneWayClutch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches