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.0009373/0.0009373, allocations: 111.2 kB / 20.43 MB, free: 4.605 MB / 13.93 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.0008805/0.0008805, allocations: 193.3 kB / 23.71 MB, free: 2.164 MB / 13.93 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.8939/0.8939, allocations: 225.7 MB / 252.5 MB, free: 14.43 MB / 202.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 0.001204/0.001204, allocations: 63.89 kB / 372 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2096, allocations: 52.18 MB / 424.1 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample): time 0.002195/0.2118, allocations: 1.936 MB / 426.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006866/0.2125, allocations: 0.6063 MB / 426.7 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.202e-05/0.2126, allocations: 2.75 kB / 426.7 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.215e-05/0.2126, allocations: 19.78 kB / 426.7 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.935e-05/0.2127, allocations: 24.7 kB / 426.7 MB, free: 5.957 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.213, allocations: 113.2 kB / 426.8 MB, free: 5.891 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.2132, allocations: 203 kB / 427 MB, free: 5.793 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2134, allocations: 65.81 kB / 427.1 MB, free: 5.762 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.2135, allocations: 92.67 kB / 427.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.405e-05/0.2136, allocations: 78.97 kB / 427.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.2136, allocations: 23.91 kB / 427.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.341e-05/0.2136, allocations: 18.81 kB / 427.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.68e-05/0.2137, allocations: 42 kB / 427.3 MB, free: 5.641 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.2137, allocations: 67.73 kB / 427.4 MB, free: 5.598 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.2139, allocations: 225.1 kB / 427.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2139, allocations: 4 kB / 427.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2139, allocations: 0 / 427.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.2139, allocations: 1.312 kB / 427.6 MB, free: 5.492 MB / 330.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.000553/0.2145, allocations: 465.2 kB / 428.1 MB, free: 5.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2145, allocations: 13.75 kB / 428.1 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.2146, allocations: 52.52 kB / 428.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.2146, allocations: 18.97 kB / 428.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.2148, allocations: 180.3 kB / 428.3 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.2149, allocations: 73.38 kB / 428.4 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.2149, allocations: 14.97 kB / 428.4 MB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.2153, allocations: 356.5 kB / 428.8 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2154, allocations: 5.094 kB / 428.8 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2154, allocations: 9.562 kB / 428.8 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2154, allocations: 3.062 kB / 428.8 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.2156, allocations: 132.3 kB / 428.9 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.216, allocations: 386.7 kB / 429.3 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.2163, allocations: 188 kB / 429.5 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.2165, allocations: 101.2 kB / 429.6 MB, free: 4.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.2165, allocations: 10.8 kB / 429.6 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.2167, allocations: 143.4 kB / 429.7 MB, free: 3.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/0.2167, allocations: 0 / 429.7 MB, free: 3.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004787/0.2172, allocations: 290.7 kB / 430 MB, free: 3.871 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.2172, allocations: 92.58 kB / 430.1 MB, free: 3.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.2173, allocations: 152.7 kB / 430.3 MB, free: 3.648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2173, allocations: 31.92 kB / 430.3 MB, free: 3.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.2174, allocations: 115.9 kB / 430.4 MB, free: 3.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.2174, allocations: 38.09 kB / 430.4 MB, free: 3.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.2174, allocations: 48.53 kB / 430.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.039e-05/0.2175, allocations: 323.1 kB / 430.8 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.2176, allocations: 93.48 kB / 430.9 MB, free: 3.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.2177, allocations: 180.7 kB / 431.1 MB, free: 2.926 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.2179, allocations: 230 kB / 431.3 MB, free: 2.746 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2179, allocations: 1.219 kB / 431.3 MB, free: 2.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003049/0.2182, allocations: 314.4 kB / 431.6 MB, free: 2.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.2183, allocations: 32.52 kB / 431.6 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2183, allocations: 3.031 kB / 431.6 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2183, allocations: 8.547 kB / 431.6 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.2184, allocations: 46.59 kB / 431.7 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2184, allocations: 8.375 kB / 431.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.298e-05/0.2185, allocations: 29.16 kB / 431.7 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.2185, allocations: 12.8 kB / 431.7 MB, free: 2.477 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 13 (rotationalClock.changed.y,$CLKPRE.rotationalClock.changed.u,rotationalClock.changed.u,rotationalClock.cast.y,rotationalClock.direction_changed,rotationalClock.direction,$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 (26): * Single equations (assignments): 25 * 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.73e-05/0.2186, allocations: 149.8 kB / 431.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2187, allocations: 108.2 kB / 432 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.2187, allocations: 18.94 kB / 432 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2187, allocations: 3 kB / 432 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2187, allocations: 5.031 kB / 432 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2187, allocations: 5.109 kB / 432 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.2191, allocations: 440.9 kB / 432.5 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2191, allocations: 5.094 kB / 432.5 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.2192, allocations: 39.22 kB / 432.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2192, allocations: 5.188 kB / 432.5 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2192, allocations: 6.266 kB / 432.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2192, allocations: 1.375 kB / 432.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2192, allocations: 1.344 kB / 432.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.2196, allocations: 327.9 kB / 432.8 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.2196, allocations: 21.38 kB / 432.9 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.2196, allocations: 10.19 kB / 432.9 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.2197, allocations: 17.61 kB / 432.9 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.2197, allocations: 18.97 kB / 432.9 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2197, allocations: 14.95 kB / 432.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.654e-05/0.2198, allocations: 106.5 kB / 433 MB, free: 1.457 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2198, allocations: 0 / 433 MB, free: 1.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001972/0.22, allocations: 32.34 kB / 433.1 MB, free: 1.453 MB / 330.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.0005623/0.2205, allocations: 0.9678 MB / 434 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.2208, allocations: 257.1 kB / 434.3 MB, free: 476 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2209, allocations: 5.938 kB / 434.3 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.448e-05/0.2209, allocations: 65.7 kB / 434.3 MB, free: 440 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.2213, allocations: 65.91 kB / 434.4 MB, free: 408 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.223, allocations: 2.262 MB / 436.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.534e-05/0.223, allocations: 121.3 kB / 436.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.2231, allocations: 18.08 kB / 436.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.2232, allocations: 56.52 kB / 436.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of SimCode: time 6.72e-07/0.2232, allocations: 0 / 436.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08455/0.3077, allocations: 4.454 MB / 441.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/7.07, allocations: 16.66 kB / 441.3 MB, free: 11.76 MB / 346.7 MB " [Timeout remaining time 653] (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: 9.643744488246739]