Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 76.17 kB / 9.905 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001848, allocations: 441.7 kB / 10.34 MB, free: 360 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007294/0.0007294, allocations: 165.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.001915, allocations: 459.6 kB / 11.68 MB, free: 2.488 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8474/0.8474, allocations: 158.6 MB / 171 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1216/0.9689, allocations: 49.49 MB / 220.5 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 221.7 MB, free: 232 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.959e-06/1.108e-05, allocations: 2.312 kB / 221.7 MB, free: 228 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo3): time 0.002802/0.002813, allocations: 2.386 MB / 224.1 MB, free: 13.82 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.007171, allocations: 0.9603 MB / 225.1 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.007271, allocations: 4 kB / 225.1 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.007385, allocations: 51.52 kB / 225.1 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.007715, allocations: 139.1 kB / 225.3 MB, free: 12.65 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.007988, allocations: 171.6 kB / 225.4 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.008353, allocations: 418.6 kB / 225.9 MB, free: 12.07 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.008469, allocations: 50.81 kB / 225.9 MB, free: 12.03 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.008746, allocations: 267.5 kB / 226.2 MB, free: 11.77 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.008971, allocations: 183.6 kB / 226.3 MB, free: 11.59 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.009017, allocations: 36 kB / 226.4 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.009218, allocations: 127.9 kB / 226.5 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.928e-05/0.009307, allocations: 67.8 kB / 226.6 MB, free: 11.36 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003106/0.01241, allocations: 87.81 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.01277, allocations: 315 kB / 227 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.01278, allocations: 0 / 227 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.01278, allocations: 4 kB / 227 MB, free: 10.96 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.0128, allocations: 0 / 227 MB, free: 10.96 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.000788/0.01358, allocations: 0.5931 MB / 227.6 MB, free: 10.34 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.01361, allocations: 11.97 kB / 227.6 MB, free: 10.33 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.01367, allocations: 66.69 kB / 227.6 MB, free: 10.26 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.01392, allocations: 149.9 kB / 227.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.01419, allocations: 210 kB / 228 MB, free: 9.859 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.455e-05/0.01428, allocations: 144 kB / 228.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.01433, allocations: 32.33 kB / 228.2 MB, free: 9.664 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.01471, allocations: 307.7 kB / 228.5 MB, free: 9.336 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.01473, allocations: 8.125 kB / 228.5 MB, free: 9.328 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.01475, allocations: 11.94 kB / 228.5 MB, free: 9.316 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.01476, allocations: 8 kB / 228.5 MB, free: 9.309 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.01503, allocations: 175.2 kB / 228.7 MB, free: 9.137 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.01922, allocations: 0.873 MB / 229.5 MB, free: 8.219 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.01949, allocations: 174.4 kB / 229.7 MB, free: 8.039 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.0196, allocations: 84.81 kB / 229.8 MB, free: 7.953 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.01963, allocations: 12.72 kB / 229.8 MB, free: 7.941 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.01965, allocations: 42.5 kB / 229.8 MB, free: 7.891 MB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 1.533e-06/0.01965, allocations: 0 / 229.8 MB, free: 7.891 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.005232/0.02488, allocations: 1.128 MB / 231 MB, free: 6.707 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.02491, allocations: 67.34 kB / 231 MB, free: 6.629 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.02506, allocations: 208 kB / 231.2 MB, free: 6.41 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.02509, allocations: 33.7 kB / 231.3 MB, free: 6.371 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.02515, allocations: 132.8 kB / 231.4 MB, free: 6.238 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.117e-05/0.02524, allocations: 150.6 kB / 231.6 MB, free: 6.09 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.02535, allocations: 94.08 kB / 231.6 MB, free: 5.992 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.02544, allocations: 338.7 kB / 232 MB, free: 5.652 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.02555, allocations: 59.81 kB / 232 MB, free: 5.594 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.02569, allocations: 152.3 kB / 232.2 MB, free: 5.418 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.02592, allocations: 201.7 kB / 232.4 MB, free: 5.203 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.02592, allocations: 0 / 232.4 MB, free: 5.203 MB / 234.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003993/0.02632, allocations: 302.2 kB / 232.7 MB, free: 4.898 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.02633, allocations: 11.94 kB / 232.7 MB, free: 4.887 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.02634, allocations: 0 / 232.7 MB, free: 4.887 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.02673, allocations: 200.5 kB / 232.9 MB, free: 4.688 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.0269, allocations: 55.95 kB / 232.9 MB, free: 4.633 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00496/0.03186, allocations: 2.069 MB / 235 MB, free: 2.469 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.03198, allocations: 19.98 kB / 235 MB, free: 2.449 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.03201, allocations: 12 kB / 235 MB, free: 2.438 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (gear.ideal,gear.mode,$PRE.gear.mode,gear.locked,gear.startBackward,gear.startForward,gear.tau_aPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 9.59e-05/0.03211, allocations: 136.6 kB / 235.2 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.03216, allocations: 35.91 kB / 235.2 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.03222, allocations: 46.98 kB / 235.2 MB, free: 2.211 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.03222, allocations: 8.031 kB / 235.3 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.03222, allocations: 0 / 235.3 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.03223, allocations: 0 / 235.3 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.03305, allocations: 0.6209 MB / 235.9 MB, free: 1.543 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.03306, allocations: 0 / 235.9 MB, free: 1.543 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003156/0.03621, allocations: 51.95 kB / 235.9 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.0363, allocations: 35.84 kB / 236 MB, free: 1.457 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003589/0.03666, allocations: 200.7 kB / 236.2 MB, free: 1.258 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.03668, allocations: 11.98 kB / 236.2 MB, free: 1.246 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.03858, allocations: 2.044 MB / 238.2 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.03858, allocations: 0 / 238.2 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.03911, allocations: 474.7 kB / 238.7 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.03915, allocations: 12 kB / 238.7 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.04088, allocations: 15.98 kB / 238.7 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.04099, allocations: 59.88 kB / 238.8 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.04101, allocations: 11.98 kB / 238.8 MB, free: 14.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.625e-05/0.04109, allocations: 72.53 kB / 238.8 MB, free: 14.44 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04109, allocations: 0 / 238.8 MB, free: 14.44 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004433/0.04153, allocations: 135.9 kB / 239 MB, free: 14.31 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 5 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode) * Number of discrete states: 1 (gear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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 {(2,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004351/0.04197, allocations: 0.7221 MB / 239.7 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005401/0.04251, allocations: 437.2 kB / 240.1 MB, free: 13.13 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.04251, allocations: 0 / 240.1 MB, free: 13.13 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.04287, allocations: 358.5 kB / 240.5 MB, free: 12.76 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.04313, allocations: 75.94 kB / 240.6 MB, free: 12.69 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.04624, allocations: 1.729 MB / 242.3 MB, free: 10.88 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.711e-05/0.0463, allocations: 113.3 kB / 242.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.869e-05/0.04638, allocations: 34.97 kB / 242.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.04652, allocations: 151.3 kB / 242.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of SimCode: time 8.81e-07/0.04652, allocations: 0 / 242.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of FMU documentation: time 0.03027/0.07679, allocations: 12.2 MB / 254.8 MB, free: 14.29 MB / 266.7 MB Notification: FMU-only work: backend 0.000272, simCode 0.0007908, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06212/0.1389, allocations: 1.476 MB / 256.2 MB, free: 12.77 MB / 266.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 2.964/3.103, allocations: 23.8 kB / 256.3 MB, free: 12.75 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,gear.mode Variables in the result:Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,der(Inertia1.w),der(Inertia2.flange_a.phi),der(Inertia2.flange_b.phi),der(Inertia2.phi),der(Inertia2.w),der(gear.flange_b.phi),der(gear.phi_a),der(gear.phi_b),der(torque2.flange.phi),gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y,time,torque1.flange.phi,torque1.flange.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.tau,torque2.useSupport filterSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.diff.mat", vars={"Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_OMSimulator-cs-euler.diff.ref.mat", vars={"Inertia2.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy_res.csv --output-variables Inertia2.phi Inertia2.w gear.mode --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode_res.csv --output-variables Inertia2.phi Inertia2.w gear.mode --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.001 ../Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_fmpy-fmi3-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo3/LossyGearDemo3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.452436950057745]