Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.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.0007652/0.0007652, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.001876, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 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.0007314/0.0007314, allocations: 145.2 kB / 11.2 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009837/0.001715, allocations: 475.5 kB / 11.67 MB, free: 2.516 MB / 13.93 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 0.9888/0.9888, allocations: 177.1 MB / 189.5 MB, free: 3.605 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1873/1.176, allocations: 53.75 MB / 243.3 MB, free: 2.086 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1445/0.1445, allocations: 34.87 MB / 278.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0256/0.1701, allocations: 13.23 MB / 292.1 MB, free: 1.586 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestFriction,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestFriction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestFriction,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestFriction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 293.3 MB, free: 376 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.883e-05, allocations: 2.312 kB / 293.3 MB, free: 372 kB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.004682/0.004701, allocations: 4.043 MB / 297.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.007431, allocations: 1.508 MB / 298.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.007735, allocations: 23.81 kB / 298.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.008023, allocations: 130.7 kB / 299 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005222/0.008546, allocations: 293.7 kB / 299.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.009148, allocations: 367.3 kB / 299.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009271/0.01007, allocations: 1.096 MB / 300.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.01029, allocations: 151.5 kB / 300.9 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008018/0.0111, allocations: 0.7224 MB / 301.7 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.01159, allocations: 423 kB / 302.1 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.0117, allocations: 84 kB / 302.1 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.01196, allocations: 143.9 kB / 302.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.01213, allocations: 155.5 kB / 302.4 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.01236, allocations: 231.5 kB / 302.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007202/0.01308, allocations: 0.6811 MB / 303.3 MB, free: 6.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.01309, allocations: 4 kB / 303.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01309, allocations: 0 / 303.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.01311, allocations: 0 / 303.4 MB, free: 6.281 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001415/0.01452, allocations: 1.032 MB / 304.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.01456, allocations: 8.625 kB / 304.4 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.01466, allocations: 110.6 kB / 304.5 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.01503, allocations: 213.9 kB / 304.7 MB, free: 4.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.01553, allocations: 372 kB / 305.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.01558, allocations: 53.67 kB / 305.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/0.01568, allocations: 68.31 kB / 305.2 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.01645, allocations: 0.6153 MB / 305.8 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.01648, allocations: 11.94 kB / 305.8 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.01653, allocations: 24 kB / 305.8 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.01655, allocations: 20 kB / 305.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.01709, allocations: 310.3 kB / 306.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.01949, allocations: 1.883 MB / 308 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.02014, allocations: 408.1 kB / 308.4 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.02038, allocations: 163.7 kB / 308.6 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.952e-05/0.02043, allocations: 16.38 kB / 308.6 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.02047, allocations: 54.44 kB / 308.7 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 2.435e-06/0.02047, allocations: 0 / 308.7 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of matching and sorting (n=83): time 0.003293/0.02376, allocations: 1.769 MB / 310.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.02382, allocations: 140.5 kB / 310.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.02417, allocations: 424.8 kB / 311 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/0.02423, allocations: 53.69 kB / 311 MB, free: 14.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.02435, allocations: 250 kB / 311.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.02454, allocations: 305.5 kB / 311.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.02475, allocations: 166.5 kB / 311.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.02487, allocations: 382.6 kB / 312.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.02513, allocations: 134 kB / 312.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.02544, allocations: 302.1 kB / 312.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.02596, allocations: 453.8 kB / 313 MB, free: 12.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.02597, allocations: 7.938 kB / 313 MB, free: 12.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0009767/0.02694, allocations: 0.6254 MB / 313.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.02696, allocations: 8 kB / 313.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.02697, allocations: 4 kB / 313.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/0.02761, allocations: 427.3 kB / 314.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.0279, allocations: 159.7 kB / 314.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.02978, allocations: 3.244 MB / 317.5 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.03017, allocations: 111.8 kB / 317.6 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.03021, allocations: 31.98 kB / 317.6 MB, free: 7.262 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 30 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free,oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward,bearingFriction.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,8), (1,10), (1,6), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.03041, allocations: 167.1 kB / 317.8 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.03054, allocations: 75.81 kB / 317.8 MB, free: 7.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.03063, allocations: 92.92 kB / 317.9 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.03063, allocations: 12 kB / 317.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.03064, allocations: 4 kB / 317.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.03065, allocations: 3.984 kB / 317.9 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.03236, allocations: 1.299 MB / 319.2 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.03236, allocations: 3.938 kB / 319.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.03267, allocations: 123.9 kB / 319.4 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005242/0.03319, allocations: 415 kB / 319.8 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.03326, allocations: 31.95 kB / 319.8 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.03519, allocations: 3.09 MB / 322.9 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.0352, allocations: 7.938 kB / 322.9 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.03638, allocations: 1.032 MB / 323.9 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.0366, allocations: 107.4 kB / 324 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/0.03668, allocations: 31.98 kB / 324.1 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.037, allocations: 83.91 kB / 324.2 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.03727, allocations: 199.5 kB / 324.3 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.03731, allocations: 27.95 kB / 324.4 MB, free: 200 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.03745, allocations: 180.4 kB / 324.6 MB, free: 20 kB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03745, allocations: 0 / 324.6 MB, free: 20 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.1506/0.188, allocations: 204.7 kB / 324.8 MB, free: 24.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (inertia4.phi,inertia4.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,inertia2.phi,inertia2.w,clutch.phi_rel,clutch.w_rel,inertia1.w,brake.phi,inertia.w,bearingFriction.phi) * Number of discrete variables: 18 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startForward,clutch.startBackward,oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,6), (1,10), (1,7), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002591/0.1906, allocations: 1.913 MB / 326.7 MB, free: 23.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.1918, allocations: 0.6373 MB / 327.3 MB, free: 23.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/0.1918, allocations: 5.906 kB / 327.3 MB, free: 23.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005169/0.1923, allocations: 444.7 kB / 327.7 MB, free: 23.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.193, allocations: 194.8 kB / 327.9 MB, free: 23.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.1982, allocations: 3.773 MB / 331.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.1984, allocations: 167.6 kB / 331.9 MB, free: 22.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002475/0.1986, allocations: 74.27 kB / 331.9 MB, free: 22.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.199, allocations: 357.4 kB / 332.3 MB, free: 22.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.502e-06/0.199, allocations: 3.031 kB / 332.3 MB, free: 22.02 MB / 314.7 MB Notification: FMU-only work: backend 0.00141, simCode 0.002254, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/0.3181, allocations: 26.49 MB / 358.8 MB, free: 1.066 MB / 314.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.294/3.612, allocations: 15.94 kB / 358.8 MB, free: 1.047 MB / 314.7 MB " [Timeout remaining time 656] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestFriction_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219124 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Rotational_TestFriction.fmu) > ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestFriction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219124 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Rotational_TestFriction_OMSimulator-cs-cvode.fmu) > ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestFriction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219124 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Rotational_TestFriction_OMSimulator-cs-euler.fmu) > ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy_res.csv --output-variables clutch.phi_rel clutch.w_rel inertia.phi inertia.w inertia1.phi inertia1.w inertia2.phi inertia2.w inertia5.phi inertia5.w oneWayClutch.phi_rel oneWayClutch.w_rel bearingFriction.mode bearingFriction.startBackward bearingFriction.startForward brake.mode brake.startBackward brake.startForward clutch.mode clutch.startBackward clutch.startForward oneWayClutch.startForward oneWayClutch.stuck --start-time 0 --stop-time 1.1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219124 ../ModelicaTest_trunk_ModelicaTest_Rotational_TestFriction.fmu) > ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy_res.csv: Error: Error opening file: ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,inertia.phi,inertia.w,inertia1.phi,inertia1.w,inertia2.phi,inertia2.w,inertia5.phi,inertia5.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward,oneWayClutch.startForward,oneWayClutch.stuck Variables in the result: filterSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy.diff.ref.mat: "" (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 1.1 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.000219124 ../ModelicaTest_trunk_ModelicaTest_Rotational_TestFriction_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inertia.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable inertia.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable inertia1.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable inertia1.w in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable inertia1.w from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable inertia2.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable inertia2.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable inertia2.w in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable inertia2.w from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable inertia5.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable inertia5.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable inertia5.w in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable inertia5.w from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable oneWayClutch.phi_rel in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable oneWayClutch.phi_rel from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable oneWayClutch.w_rel in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable oneWayClutch.w_rel from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable bearingFriction.mode in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bearingFriction.mode from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable bearingFriction.startBackward in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bearingFriction.startBackward from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable bearingFriction.startForward in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bearingFriction.startForward from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable brake.mode in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable brake.mode from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable brake.startBackward in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable brake.startBackward from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable brake.startForward in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable brake.startForward from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable clutch.mode in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable clutch.mode from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable clutch.startBackward in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable clutch.startBackward from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable clutch.startForward in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable clutch.startForward from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable oneWayClutch.startForward in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable oneWayClutch.startForward from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable oneWayClutch.stuck in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable oneWayClutch.stuck from file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,clutch.phi_rel,clutch.w_rel,inertia.phi,inertia.w,inertia1.phi,inertia1.w,inertia2.phi,inertia2.w,inertia5.phi,inertia5.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward,oneWayClutch.startForward,oneWayClutch.stuck Variables in the result:time,bearingFriction.phi,brake.phi,clutch.phi_rel,clutch.w_rel,inertia.w filterSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode.diff.mat", vars={"oneWayClutch.stuck", "oneWayClutch.startForward", "clutch.startForward", "clutch.startBackward", "clutch.mode", "brake.startForward", "brake.startBackward", "brake.mode", "bearingFriction.startForward", "bearingFriction.startBackward", "bearingFriction.mode", "oneWayClutch.w_rel", "oneWayClutch.phi_rel", "inertia5.w", "inertia5.phi", "inertia2.w", "inertia2.phi", "inertia1.w", "inertia1.phi", "inertia.phi"}, removeDescription=false) [Timeout 660] "Error: Could not read variable oneWayClutch.stuck in file ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"oneWayClutch.stuck", "oneWayClutch.startForward", "clutch.startForward", "clutch.startBackward", "clutch.mode", "brake.startForward", "brake.startBackward", "brake.mode", "bearingFriction.startForward", "bearingFriction.startBackward", "bearingFriction.mode", "oneWayClutch.w_rel", "oneWayClutch.phi_rel", "inertia5.w", "inertia5.phi", "inertia2.w", "inertia2.phi", "inertia1.w", "inertia1.phi", "inertia.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 7.243112021125853]