Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 187 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 51.86 kB / 371.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2675, allocations: 52.17 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003884/0.2714, allocations: 2.13 MB / 425.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.2727, allocations: 0.6584 MB / 426.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2728, allocations: 3.938 kB / 426.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.273, allocations: 35.66 kB / 426.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.2732, allocations: 59.48 kB / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.2735, allocations: 103.8 kB / 426.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.2738, allocations: 267.4 kB / 427 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.274, allocations: 46.02 kB / 427.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.2742, allocations: 111.6 kB / 427.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.2744, allocations: 107.5 kB / 427.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.2744, allocations: 20 kB / 427.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.2745, allocations: 67.89 kB / 427.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.2746, allocations: 55.81 kB / 427.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.2747, allocations: 91.59 kB / 427.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.2751, allocations: 282.6 kB / 427.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.2751, allocations: 0 / 427.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2751, allocations: 4 kB / 427.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.2751, allocations: 0 / 427.8 MB, free: 10.49 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008262/0.276, allocations: 453.6 kB / 428.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.276, allocations: 8.031 kB / 428.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.2761, allocations: 24.8 kB / 428.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.2764, allocations: 186 kB / 428.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.2764, allocations: 20.81 kB / 428.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.2765, allocations: 20.38 kB / 428.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.2769, allocations: 230 kB / 428.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2769, allocations: 0 / 428.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.277, allocations: 8 kB / 428.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.277, allocations: 8 kB / 428.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.2773, allocations: 165 kB / 428.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.2784, allocations: 0.6336 MB / 429.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.2788, allocations: 126.5 kB / 429.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.279, allocations: 64.84 kB / 429.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.279, allocations: 7.984 kB / 429.7 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.279, allocations: 34.56 kB / 429.8 MB, free: 8.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.904e-06/0.279, allocations: 3.938 kB / 429.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001845/0.2809, allocations: 0.7612 MB / 430.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.2809, allocations: 55.34 kB / 430.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.2811, allocations: 186.7 kB / 430.8 MB, free: 7.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.2811, allocations: 29.7 kB / 430.8 MB, free: 7.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.2813, allocations: 148.4 kB / 431 MB, free: 7.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.2813, allocations: 79.31 kB / 431 MB, free: 7.055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.874e-05/0.2814, allocations: 53.66 kB / 431.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2816, allocations: 330.8 kB / 431.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.2818, allocations: 83.94 kB / 431.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.282, allocations: 117.2 kB / 431.6 MB, free: 6.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.2823, allocations: 169.9 kB / 431.8 MB, free: 6.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2823, allocations: 0 / 431.8 MB, free: 6.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005472/0.2828, allocations: 280.6 kB / 432 MB, free: 5.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2828, allocations: 8 kB / 432 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2828, allocations: 64 / 432 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.2831, allocations: 76.84 kB / 432.1 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.2832, allocations: 35.92 kB / 432.2 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005878/0.2838, allocations: 0.6304 MB / 432.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.284, allocations: 23.97 kB / 432.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.284, allocations: 8 kB / 432.8 MB, free: 5.188 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 (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 0.0001574/0.2842, allocations: 133.9 kB / 433 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.2842, allocations: 23.84 kB / 433 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.2843, allocations: 21.81 kB / 433 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2843, allocations: 4 kB / 433 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2843, allocations: 3.938 kB / 433 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2843, allocations: 0 / 433 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008852/0.2852, allocations: 0.5082 MB / 433.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2852, allocations: 0 / 433.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.2854, allocations: 35.98 kB / 433.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.2855, allocations: 68.81 kB / 433.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.2856, allocations: 4 kB / 433.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005369/0.2861, allocations: 0.6186 MB / 434.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2861, allocations: 0 / 434.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/0.2868, allocations: 421.7 kB / 434.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-05/0.2869, allocations: 35.88 kB / 434.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.2869, allocations: 8 kB / 434.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.2871, allocations: 11.98 kB / 434.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.2872, allocations: 27.95 kB / 434.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2872, allocations: 11.98 kB / 434.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.2873, allocations: 135.8 kB / 434.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2873, allocations: 0 / 434.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.2877, allocations: 64 kB / 434.9 MB, free: 2.961 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001907/0.2879, allocations: 123.2 kB / 435.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005114/0.2884, allocations: 195.7 kB / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2884, allocations: 0 / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.2886, allocations: 94.7 kB / 435.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.289, allocations: 39.72 kB / 435.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2904, allocations: 0.6943 MB / 436.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.2906, allocations: 129.2 kB / 436.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.2906, allocations: 19.44 kB / 436.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2906, allocations: 0 / 436.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of Templates: time 0.006345/0.297, allocations: 3.514 MB / 439.7 MB, free: 14.11 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.745680156163871]