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.001632/0.001632, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 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.002026/0.002026, allocations: 214.8 kB / 23.74 MB, free: 4.672 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.497/1.497, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_OneWayClutchDisengaged",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_OneWayClutchDisengaged",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2803, allocations: 53.4 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003945/0.2843, allocations: 2.353 MB / 433.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2859, allocations: 0.8685 MB / 434.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.286, allocations: 7.938 kB / 434.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.2863, allocations: 55.56 kB / 434.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.2866, allocations: 103.3 kB / 434.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.2868, allocations: 83.83 kB / 434.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.2872, allocations: 275.4 kB / 434.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.2873, allocations: 48.52 kB / 435 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.2876, allocations: 127.5 kB / 435.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.2878, allocations: 131.5 kB / 435.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.2879, allocations: 20 kB / 435.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.288, allocations: 75.98 kB / 435.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.2881, allocations: 63.81 kB / 435.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.2882, allocations: 115.4 kB / 435.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.2887, allocations: 315.1 kB / 435.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2887, allocations: 0 / 435.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2887, allocations: 0 / 435.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2887, allocations: 0 / 435.8 MB, free: 2.043 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009077/0.2896, allocations: 485.2 kB / 436.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2896, allocations: 12.03 kB / 436.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.438e-05/0.2897, allocations: 54.73 kB / 436.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.2899, allocations: 32.78 kB / 436.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.2903, allocations: 186.8 kB / 436.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2903, allocations: 16.75 kB / 436.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.2904, allocations: 28.31 kB / 436.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.2908, allocations: 222.5 kB / 436.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.2908, allocations: 0 / 436.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.2908, allocations: 12 kB / 436.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.2908, allocations: 4 kB / 436.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.2912, allocations: 151.3 kB / 437 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.2924, allocations: 0.7209 MB / 437.7 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.2928, allocations: 138.7 kB / 437.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.2929, allocations: 72.83 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.2929, allocations: 4 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.293, allocations: 30.91 kB / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.293, allocations: 0 / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001856/0.2948, allocations: 0.7774 MB / 438.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.2949, allocations: 55.34 kB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.2951, allocations: 218.8 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.2952, allocations: 29.7 kB / 439 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.2953, allocations: 144.5 kB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.2954, allocations: 79.36 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2955, allocations: 45.7 kB / 439.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2956, allocations: 338.8 kB / 439.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.2958, allocations: 67.97 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.296, allocations: 103.4 kB / 439.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.2963, allocations: 159.9 kB / 439.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.2963, allocations: 4 kB / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000502/0.2968, allocations: 262.2 kB / 440.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2968, allocations: 10.5 kB / 440.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2968, allocations: 3.984 kB / 440.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.2971, allocations: 56.83 kB / 440.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.2972, allocations: 47.84 kB / 440.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.2994, allocations: 1.71 MB / 442 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.2996, allocations: 23.97 kB / 442 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.2996, allocations: 15.94 kB / 442 MB, free: 11.39 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.0001575/0.2998, allocations: 129.8 kB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.2998, allocations: 31.91 kB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.2999, allocations: 25.95 kB / 442.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2999, allocations: 4 kB / 442.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2999, allocations: 0 / 442.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2999, allocations: 0 / 442.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.3008, allocations: 0.5821 MB / 442.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.3008, allocations: 4.062 kB / 442.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.301, allocations: 31.98 kB / 442.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.3012, allocations: 56.77 kB / 442.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.3012, allocations: 11.92 kB / 442.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.3029, allocations: 1.557 MB / 444.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3029, allocations: 4.031 kB / 444.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000682/0.3036, allocations: 418.3 kB / 444.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.3036, allocations: 39.88 kB / 444.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.3037, allocations: 7.922 kB / 444.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.3039, allocations: 23.98 kB / 445 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.304, allocations: 67.89 kB / 445 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.304, allocations: 7.984 kB / 445 MB, free: 8.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.3042, allocations: 156.6 kB / 445.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3042, allocations: 0 / 445.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004068/0.3046, allocations: 68 kB / 445.2 MB, free: 7.969 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.002184/0.3068, allocations: 1.21 MB / 446.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006652/0.3075, allocations: 302.4 kB / 446.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3075, allocations: 0 / 446.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.3078, allocations: 230.7 kB / 447 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.3082, allocations: 57.98 kB / 447 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.312, allocations: 2.674 MB / 449.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.3124, allocations: 0.748 MB / 450.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.3125, allocations: 25.94 kB / 450.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3126, allocations: 67.41 kB / 450.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3127, allocations: 4 kB / 450.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04162/0.3543, allocations: 6.77 MB / 457.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.82, allocations: 13.25 kB / 457.3 MB, free: 11.87 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_OneWayClutchDisengaged.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.csv","/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] "Error: Could not read variable inertiaIn.phi in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.csv. Warning: Get data of variable inertiaIn.phi from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.csv failed! Error: Could not read variable inertiaIn.w in file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.csv. Warning: Get data of variable inertiaIn.w from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.522344791999785]