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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 177.1 MB / 204.7 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] 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=2000,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=2000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 66.12 kB / 325.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1214, allocations: 53.38 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004226/0.1256, allocations: 2.239 MB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1272, allocations: 0.8024 MB / 381.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1273, allocations: 11.88 kB / 382 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.1275, allocations: 55.56 kB / 382 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1278, allocations: 115.3 kB / 382.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.1281, allocations: 83.77 kB / 382.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.1284, allocations: 279.4 kB / 382.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1285, allocations: 36.58 kB / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.1288, allocations: 131.5 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.129, allocations: 111.5 kB / 382.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.1291, allocations: 24 kB / 382.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.1293, allocations: 83.91 kB / 382.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/0.1294, allocations: 55.83 kB / 382.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1295, allocations: 87.59 kB / 383 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.13, allocations: 322.6 kB / 383.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.13, allocations: 0 / 383.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.13, allocations: 0 / 383.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.13, allocations: 0 / 383.3 MB, free: 11.08 MB / 350.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.0008579/0.1309, allocations: 477.3 kB / 383.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1309, allocations: 15.92 kB / 383.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.1311, allocations: 40.78 kB / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.1315, allocations: 194.1 kB / 384 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.1315, allocations: 12.75 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.1315, allocations: 24.33 kB / 384.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.1319, allocations: 222.7 kB / 384.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.132, allocations: 0 / 384.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.132, allocations: 4 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.132, allocations: 8 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.1323, allocations: 155.3 kB / 384.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.1334, allocations: 0.6358 MB / 385.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.1338, allocations: 134.7 kB / 385.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.1341, allocations: 64.84 kB / 385.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1341, allocations: 4 kB / 385.3 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1341, allocations: 30.56 kB / 385.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.1341, allocations: 0 / 385.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.002081/0.1362, allocations: 0.7711 MB / 386.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.1362, allocations: 55.41 kB / 386.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.1365, allocations: 199.7 kB / 386.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.1365, allocations: 37.64 kB / 386.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1366, allocations: 140.4 kB / 386.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.1367, allocations: 87.3 kB / 386.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-05/0.1368, allocations: 45.7 kB / 386.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1369, allocations: 334.8 kB / 387 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.1371, allocations: 67.97 kB / 387 MB, free: 7.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.1373, allocations: 103.4 kB / 387.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.1376, allocations: 159.9 kB / 387.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1376, allocations: 4 kB / 387.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005131/0.1381, allocations: 262.3 kB / 387.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1381, allocations: 11.94 kB / 387.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1381, allocations: 0 / 387.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.1383, allocations: 56.83 kB / 387.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.1385, allocations: 35.92 kB / 387.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.1407, allocations: 1.692 MB / 389.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.1409, allocations: 19.98 kB / 389.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.1409, allocations: 8 kB / 389.4 MB, free: 4.672 MB / 350.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.000159/0.1411, allocations: 141.8 kB / 389.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.1411, allocations: 15.91 kB / 389.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.1412, allocations: 30 kB / 389.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1412, allocations: 7.938 kB / 389.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1412, allocations: 0 / 389.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1412, allocations: 3.984 kB / 389.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009061/0.1421, allocations: 0.5086 MB / 390.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1421, allocations: 4 kB / 390.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.1423, allocations: 36.03 kB / 390.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00016/0.1424, allocations: 52.83 kB / 390.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.1425, allocations: 8 kB / 390.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.1441, allocations: 1.531 MB / 391.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.1441, allocations: 8 kB / 391.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007079/0.1448, allocations: 420.7 kB / 392.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.1449, allocations: 31.88 kB / 392.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.145, allocations: 8 kB / 392.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.1452, allocations: 19.98 kB / 392.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.1453, allocations: 63.88 kB / 392.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1453, allocations: 12 kB / 392.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.1455, allocations: 147.2 kB / 392.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1455, allocations: 0 / 392.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004189/0.1459, allocations: 71.94 kB / 392.5 MB, free: 1.379 MB / 350.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 (15): * Single equations (assignments): 14 * 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.001417/0.1473, allocations: 391.5 kB / 392.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006121/0.1479, allocations: 302.5 kB / 393.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1479, allocations: 0 / 393.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.1483, allocations: 230.4 kB / 393.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1487, allocations: 34.27 kB / 393.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.15, allocations: 0.6846 MB / 394.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.1502, allocations: 134.2 kB / 394.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.677e-05/0.1503, allocations: 33.88 kB / 394.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.1503, allocations: 24.5 kB / 394.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1503, allocations: 3.938 kB / 394.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Templates: time 0.008346/0.1587, allocations: 3.755 MB / 398 MB, free: 11.9 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.408949187025428]