Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.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.001358/0.001358, allocations: 88.34 kB / 20.68 MB, free: 3.887 MB / 18.57 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.0009847/0.0009847, allocations: 164.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.8633/0.8633, allocations: 177.4 MB / 204.6 MB, free: 5.312 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 326.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.451e-05, allocations: 5.375 kB / 326.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample): time 0.002013/0.002027, allocations: 1.963 MB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000765/0.002792, allocations: 0.6698 MB / 329.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.672e-05/0.002879, allocations: 4 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.002915, allocations: 19.73 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.988e-05/0.003014, allocations: 27.78 kB / 329.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.003419, allocations: 127.5 kB / 329.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.003596, allocations: 212 kB / 329.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.00373, allocations: 64.89 kB / 329.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.003913, allocations: 127.7 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.003996, allocations: 71.77 kB / 330.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.004022, allocations: 20 kB / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.843e-05/0.00407, allocations: 31.94 kB / 330.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.0041, allocations: 31.91 kB / 330.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.004151, allocations: 59.83 kB / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.004362, allocations: 239.2 kB / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.004364, allocations: 0 / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004365, allocations: 0 / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.004369, allocations: 0 / 330.5 MB, free: 10.61 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005614/0.00493, allocations: 473 kB / 330.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.004966, allocations: 11.98 kB / 330.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.005004, allocations: 50.73 kB / 331 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.005115, allocations: 32.78 kB / 331 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.005311, allocations: 178 kB / 331.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.00537, allocations: 68.3 kB / 331.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.005388, allocations: 20.38 kB / 331.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.005839, allocations: 360.7 kB / 331.6 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.005847, allocations: 0 / 331.6 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.005864, allocations: 8 kB / 331.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.005869, allocations: 7.938 kB / 331.6 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.006104, allocations: 139.8 kB / 331.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.006543, allocations: 392.6 kB / 332.2 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.006835, allocations: 189.1 kB / 332.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.006974, allocations: 93.66 kB / 332.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.006995, allocations: 8 kB / 332.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.007192, allocations: 145.2 kB / 332.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.143e-06/0.007193, allocations: 0 / 332.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004649/0.007658, allocations: 289.2 kB / 332.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.007706, allocations: 89.11 kB / 333 MB, free: 7.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.646e-05/0.007792, allocations: 152.1 kB / 333.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.00781, allocations: 37.7 kB / 333.1 MB, free: 7.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.00786, allocations: 116.5 kB / 333.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.007883, allocations: 35.73 kB / 333.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.007927, allocations: 33.7 kB / 333.3 MB, free: 7.488 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.007997, allocations: 326.8 kB / 333.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.008103, allocations: 81.66 kB / 333.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.008435, allocations: 95.38 kB / 333.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.008609, allocations: 143.3 kB / 334 MB, free: 6.816 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008611, allocations: 0 / 334 MB, free: 6.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002572/0.008868, allocations: 235.2 kB / 334.2 MB, free: 6.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.008894, allocations: 37.7 kB / 334.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.008897, allocations: 0 / 334.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.008909, allocations: 4 kB / 334.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.008996, allocations: 28 kB / 334.3 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.009, allocations: 4 kB / 334.3 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.009069, allocations: 23.81 kB / 334.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.00908, allocations: 8 kB / 334.3 MB, free: 6.461 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 8.626e-05/0.009166, allocations: 141.7 kB / 334.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.009281, allocations: 106.5 kB / 334.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.009316, allocations: 16.78 kB / 334.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.009318, allocations: 4 kB / 334.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.009322, allocations: 4 kB / 334.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.009327, allocations: 3.984 kB / 334.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.009726, allocations: 445.4 kB / 335 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.009728, allocations: 4 kB / 335 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.487e-05/0.009823, allocations: 35.97 kB / 335 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.009826, allocations: 4 kB / 335 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.009837, allocations: 7.984 kB / 335 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.00984, allocations: 8 kB / 335.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.009841, allocations: 3.938 kB / 335.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.01014, allocations: 328 kB / 335.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.01016, allocations: 15.84 kB / 335.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.01018, allocations: 8 kB / 335.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.01027, allocations: 23.97 kB / 335.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.01031, allocations: 19.91 kB / 335.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.01033, allocations: 7.984 kB / 335.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.067e-05/0.01038, allocations: 119.1 kB / 335.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01038, allocations: 0 / 335.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000171/0.01055, allocations: 28 kB / 335.6 MB, free: 5.07 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.0006268/0.01117, allocations: 0.9638 MB / 336.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.01146, allocations: 233 kB / 336.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01147, allocations: 0 / 336.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.01156, allocations: 55.91 kB / 336.8 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.01185, allocations: 71.86 kB / 336.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.01345, allocations: 2.028 MB / 338.9 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.653e-05/0.01352, allocations: 116.4 kB / 339.1 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.576e-05/0.01356, allocations: 13.14 kB / 339.1 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.01364, allocations: 52.48 kB / 339.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01364, allocations: 0 / 339.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/0.1234, allocations: 4.527 MB / 343.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.106, allocations: 17.62 kB / 343.7 MB, free: 12.93 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_fmu --startTime=0 --stopTime=2 --stepSize=0.000392542 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.fmu) > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.continuous,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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.continuous,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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.continuous,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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.fmu) > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.6188331739977]