Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009001/0.0009001, allocations: 157 kB / 23.94 MB, free: 0.6211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8757/0.8757, allocations: 173.3 MB / 200.4 MB, free: 9.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 320 MB, free: 5.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.967e-06/1.038e-05, allocations: 2.281 kB / 320 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample): time 0.002015/0.002025, allocations: 1.935 MB / 321.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007307/0.002756, allocations: 0.6115 MB / 322.5 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.002843, allocations: 7.938 kB / 322.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.002878, allocations: 19.73 kB / 322.5 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.179e-05/0.00296, allocations: 23.8 kB / 322.6 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.003256, allocations: 114.7 kB / 322.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.003432, allocations: 212.1 kB / 322.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.003573, allocations: 64.88 kB / 322.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.003726, allocations: 131.6 kB / 323.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.003806, allocations: 59.8 kB / 323.1 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.003834, allocations: 20 kB / 323.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.003855, allocations: 24 kB / 323.2 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.003889, allocations: 47.83 kB / 323.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.003943, allocations: 59.83 kB / 323.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.004129, allocations: 231.3 kB / 323.5 MB, free: 1.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.00413, allocations: 3.938 kB / 323.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004131, allocations: 0 / 323.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.004134, allocations: 0 / 323.5 MB, free: 1.953 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005598/0.004694, allocations: 456.6 kB / 324 MB, free: 1.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.004725, allocations: 8.922 kB / 324 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.004762, allocations: 54.73 kB / 324 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.004804, allocations: 28.78 kB / 324 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.004986, allocations: 177.2 kB / 324.2 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.005044, allocations: 64.3 kB / 324.3 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.005064, allocations: 20.36 kB / 324.3 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.005522, allocations: 363.5 kB / 324.7 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.00553, allocations: 0 / 324.7 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.005547, allocations: 12 kB / 324.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.005552, allocations: 0 / 324.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.005783, allocations: 131.9 kB / 324.8 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.006211, allocations: 396.4 kB / 325.2 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.006508, allocations: 189.2 kB / 325.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.00665, allocations: 109.5 kB / 325.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.006669, allocations: 4 kB / 325.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.006851, allocations: 141 kB / 325.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.006852, allocations: 0 / 325.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004579/0.00731, allocations: 285.5 kB / 325.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.007359, allocations: 93.05 kB / 326 MB, free: 15.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.007447, allocations: 146.4 kB / 326.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.007464, allocations: 29.7 kB / 326.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.007513, allocations: 116.5 kB / 326.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.007535, allocations: 39.62 kB / 326.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.007577, allocations: 33.7 kB / 326.3 MB, free: 14.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.007646, allocations: 330.8 kB / 326.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.007753, allocations: 81.66 kB / 326.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.00786, allocations: 103.3 kB / 326.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.008035, allocations: 135.4 kB / 327 MB, free: 14.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008036, allocations: 0 / 327 MB, free: 14.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000251/0.008287, allocations: 236.9 kB / 327.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.008308, allocations: 29.7 kB / 327.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.008312, allocations: 0 / 327.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.008323, allocations: 4 kB / 327.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.008413, allocations: 23.97 kB / 327.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.008419, allocations: 3.938 kB / 327.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.008486, allocations: 23.94 kB / 327.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.008501, allocations: 15.95 kB / 327.3 MB, free: 13.84 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($CLKPRE.rotationalClock.changed.u,rotationalClock.changed.u,$whenCondition2,rotationalClock.less.y,trigger_interval_input.count,$PRE.trigger_interval_input.count,trigger_interval_input.T_start,$PRE.trigger_interval_input.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 1 (rotationalClock.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.871e-05/0.00858, allocations: 125.8 kB / 327.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.008686, allocations: 109.5 kB / 327.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.008721, allocations: 20.78 kB / 327.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008722, allocations: 0 / 327.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.008727, allocations: 4 kB / 327.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.008731, allocations: 3.984 kB / 327.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.009124, allocations: 446.4 kB / 328 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.009125, allocations: 0 / 328 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.521e-05/0.009221, allocations: 43.91 kB / 328 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.009222, allocations: 0 / 328 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.009235, allocations: 15.97 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.009238, allocations: 3.938 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.009239, allocations: 0 / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.009543, allocations: 321.9 kB / 328.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.009558, allocations: 23.84 kB / 328.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.009576, allocations: 4 kB / 328.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.009661, allocations: 23.92 kB / 328.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.009711, allocations: 23.91 kB / 328.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.009721, allocations: 8 kB / 328.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.755e-05/0.009769, allocations: 114.4 kB / 328.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009769, allocations: 0 / 328.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.009942, allocations: 31.95 kB / 328.6 MB, free: 12.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2) * Number of discrete states: 1 (trigger_interval_input.count) * Number of clocked states: 1 (rotationalClock.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006238/0.01057, allocations: 0.9695 MB / 329.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.01085, allocations: 232.9 kB / 329.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01085, allocations: 0 / 329.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.268e-05/0.01095, allocations: 60.02 kB / 329.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.01123, allocations: 71.78 kB / 329.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.01283, allocations: 2.014 MB / 331.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.725e-05/0.01289, allocations: 120.2 kB / 332.1 MB, free: 8.809 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.699e-05/0.01294, allocations: 17.14 kB / 332.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.01301, allocations: 48.48 kB / 332.1 MB, free: 8.746 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01301, allocations: 0 / 332.1 MB, free: 8.746 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07183/0.08484, allocations: 4.482 MB / 336.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/7.576, allocations: 3.266 kB / 336.6 MB, free: 4.418 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_fmu --startTime=0 --stopTime=2 --stepSize=0.000392542 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.fmu) > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample_angle.y,rotationalClock.angle,rotationalClock.direction,rotationalClock.direction_changed Variables in the result:angle_input.amplitude,angle_input.f,angle_input.offset,angle_input.phase,angle_input.startTime,angle_input.y,previous(rotationalClock.changed.u),rotationalClock.abs1.generateEvent,rotationalClock.abs1.u,rotationalClock.abs1.y,rotationalClock.abs2.generateEvent,rotationalClock.abs2.u,rotationalClock.abs2.y,rotationalClock.angle,rotationalClock.angular_offset.u,rotationalClock.angular_offset.y,rotationalClock.angular_offset.y_start,rotationalClock.cast.u,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.direction_sign.generateEvent,rotationalClock.direction_sign.u,rotationalClock.direction_sign.y,rotationalClock.less.u1,rotationalClock.less.u2,rotationalClock.less.y,rotationalClock.sub.k1,rotationalClock.sub.k2,rotationalClock.sub.u1,rotationalClock.sub.u2,rotationalClock.sub.y,rotationalClock.trigger_interval,rotationalClock.update_direction.u,rotationalClock.update_direction.y,rotationalClock.update_offset.u,rotationalClock.update_offset.y,rotationalClock.useSolver,rotationalClock.y_clock.u,rotationalClock.y_clock.useSolver,sample_angle.u,sample_angle.y,time,trigger_interval_input.amplitude,trigger_interval_input.nperiod,trigger_interval_input.offset,trigger_interval_input.period,trigger_interval_input.startTime,trigger_interval_input.width,trigger_interval_input.y filterSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.diff.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.diff.ref.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=2 --stepSize=0.000392542 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample_angle.y,rotationalClock.angle,rotationalClock.direction,rotationalClock.direction_changed Variables in the result:angle_input.amplitude,angle_input.f,angle_input.offset,angle_input.phase,angle_input.startTime,angle_input.y,previous(rotationalClock.changed.u),rotationalClock.abs1.generateEvent,rotationalClock.abs1.u,rotationalClock.abs1.y,rotationalClock.abs2.generateEvent,rotationalClock.abs2.u,rotationalClock.abs2.y,rotationalClock.angle,rotationalClock.angular_offset.u,rotationalClock.angular_offset.y,rotationalClock.angular_offset.y_start,rotationalClock.cast.u,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.direction_sign.generateEvent,rotationalClock.direction_sign.u,rotationalClock.direction_sign.y,rotationalClock.less.u1,rotationalClock.less.u2,rotationalClock.less.y,rotationalClock.sub.k1,rotationalClock.sub.k2,rotationalClock.sub.u1,rotationalClock.sub.u2,rotationalClock.sub.y,rotationalClock.trigger_interval,rotationalClock.update_direction.u,rotationalClock.update_direction.y,rotationalClock.update_offset.u,rotationalClock.update_offset.y,rotationalClock.useSolver,rotationalClock.y_clock.u,rotationalClock.y_clock.useSolver,sample_angle.u,sample_angle.y,time,trigger_interval_input.amplitude,trigger_interval_input.nperiod,trigger_interval_input.offset,trigger_interval_input.period,trigger_interval_input.startTime,trigger_interval_input.width,trigger_interval_input.y filterSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.diff.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.diff.ref.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.000392542 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample_angle.y,rotationalClock.angle,rotationalClock.direction,rotationalClock.direction_changed Variables in the result:angle_input.amplitude,angle_input.f,angle_input.offset,angle_input.phase,angle_input.startTime,angle_input.y,previous(rotationalClock.changed.u),rotationalClock.abs1.generateEvent,rotationalClock.abs1.u,rotationalClock.abs1.y,rotationalClock.abs2.generateEvent,rotationalClock.abs2.u,rotationalClock.abs2.y,rotationalClock.angle,rotationalClock.angular_offset.u,rotationalClock.angular_offset.y,rotationalClock.angular_offset.y_start,rotationalClock.cast.u,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.direction_sign.generateEvent,rotationalClock.direction_sign.u,rotationalClock.direction_sign.y,rotationalClock.less.u1,rotationalClock.less.u2,rotationalClock.less.y,rotationalClock.sub.k1,rotationalClock.sub.k2,rotationalClock.sub.u1,rotationalClock.sub.u2,rotationalClock.sub.y,rotationalClock.trigger_interval,rotationalClock.update_direction.u,rotationalClock.update_direction.y,rotationalClock.update_offset.u,rotationalClock.update_offset.y,rotationalClock.useSolver,rotationalClock.y_clock.u,rotationalClock.y_clock.useSolver,sample_angle.u,sample_angle.y,time,trigger_interval_input.amplitude,trigger_interval_input.nperiod,trigger_interval_input.offset,trigger_interval_input.period,trigger_interval_input.startTime,trigger_interval_input.width,trigger_interval_input.y filterSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.diff.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.diff.ref.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv --output-variables sample_angle.y rotationalClock.angle rotationalClock.direction rotationalClock.direction_changed --start-time 0 --stop-time 2 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000392542 ../Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.fmu) > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample_angle.y,rotationalClock.angle,rotationalClock.direction,rotationalClock.direction_changed Variables in the result:time,sample_angle.y,rotationalClock.angle,rotationalClock.direction,rotationalClock.direction_changed filterSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.diff.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.diff.ref.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 10.107202023267746]