Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.OneWayClutchDisengaged,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.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_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 103.2 kB / 18.4 MB, free: 4.68 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.001055/0.001055, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.278/1.278, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001666/0.001666, allocations: 51.92 kB / 329.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08801, allocations: 46.61 MB / 375.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003248/0.09129, allocations: 2.208 MB / 378 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.09256, allocations: 0.733 MB / 378.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.09275, allocations: 4 kB / 378.8 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.09293, allocations: 35.66 kB / 378.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.09314, allocations: 67.47 kB / 378.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.09348, allocations: 95.75 kB / 379 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.0938, allocations: 263.4 kB / 379.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.09396, allocations: 64.31 kB / 379.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.09415, allocations: 123.5 kB / 379.4 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.09438, allocations: 119.5 kB / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.09443, allocations: 20 kB / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.09458, allocations: 67.89 kB / 379.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.09466, allocations: 51.83 kB / 379.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.09477, allocations: 111.5 kB / 379.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.0951, allocations: 271.1 kB / 380 MB, free: 404 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09512, allocations: 0 / 380 MB, free: 404 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09513, allocations: 0 / 380 MB, free: 404 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.09515, allocations: 0 / 380 MB, free: 404 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.1467/0.2419, allocations: 0.5138 MB / 380.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2419, allocations: 9.469 kB / 380.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.242, allocations: 24.12 kB / 380.6 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.2423, allocations: 239.6 kB / 380.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.2424, allocations: 18.5 kB / 380.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.2424, allocations: 18.75 kB / 380.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.2428, allocations: 225.7 kB / 381.1 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.2429, allocations: 2.312 kB / 381.1 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2429, allocations: 12.97 kB / 381.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2429, allocations: 5.234 kB / 381.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.2432, allocations: 165.1 kB / 381.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.2443, allocations: 0.7683 MB / 382 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.2446, allocations: 135.5 kB / 382.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.2447, allocations: 66.81 kB / 382.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2448, allocations: 8.625 kB / 382.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.2448, allocations: 36.5 kB / 382.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 2.495e-06/0.2448, allocations: 0 / 382.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001752/0.2466, allocations: 0.9893 MB / 383.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.502e-05/0.2466, allocations: 54.16 kB / 383.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.2468, allocations: 210.1 kB / 383.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.2468, allocations: 32 kB / 383.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.2469, allocations: 139.4 kB / 383.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.247, allocations: 77.98 kB / 383.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/0.2471, allocations: 50.84 kB / 383.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.992e-05/0.2471, allocations: 329.4 kB / 384.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.2473, allocations: 74.89 kB / 384.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.2475, allocations: 126.3 kB / 384.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.2478, allocations: 170.6 kB / 384.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2478, allocations: 0 / 384.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004909/0.2483, allocations: 284.8 kB / 384.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2483, allocations: 5.719 kB / 384.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2483, allocations: 2.062 kB / 384.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.2486, allocations: 75.19 kB / 384.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.2487, allocations: 39.27 kB / 384.9 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003632/0.2491, allocations: 0.6223 MB / 385.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.2493, allocations: 22.66 kB / 385.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.872e-05/0.2493, allocations: 13.34 kB / 385.5 MB, free: 10.34 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: 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 (26): * Single equations (assignments): 25 * 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 9.878e-05/0.2494, allocations: 133.7 kB / 385.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.2495, allocations: 25.73 kB / 385.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.2496, allocations: 23.81 kB / 385.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2496, allocations: 2.531 kB / 385.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2496, allocations: 2.875 kB / 385.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.2496, allocations: 115.9 kB / 385.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.2497, allocations: 7.453 kB / 385.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.2499, allocations: 19.19 kB / 385.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.25, allocations: 22.17 kB / 385.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006632/0.2506, allocations: 323.1 kB / 386.2 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004679/0.2511, allocations: 440.3 kB / 386.6 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000144/0.2513, allocations: 68.66 kB / 386.7 MB, free: 9.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.2514, allocations: 152.6 kB / 386.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of Backend: time 3.2e-07/0.2514, allocations: 4 kB / 386.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007288/0.2521, allocations: 235.7 kB / 387.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of SimCode: time 0.001052/0.2532, allocations: 1.095 MB / 388.2 MB, free: 8.465 MB / 318.1 MB Notification: Performance of Templates: time 0.007774/0.261, allocations: 3.493 MB / 391.7 MB, free: 8.168 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/OneWayClutchDisengaged/OneWayClutchDisengaged.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches