Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 111.2 kB / 20.43 MB, free: 4.594 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 213.5 kB / 23.73 MB, free: 2.129 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.154/1.154, allocations: 230.6 MB / 257.5 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,fileNamePrefix="Modelica_4_1_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_1_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.001409/0.001409, allocations: 51.92 kB / 379.3 MB, free: 480 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4453, allocations: 53.36 MB / 432.6 MB, free: 3.203 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample): time 0.004487/0.4498, allocations: 1.965 MB / 434.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.4515, allocations: 0.6662 MB / 435.3 MB, free: 1.195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.4518, allocations: 6.688 kB / 435.3 MB, free: 1.191 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 7.625e-05/0.4518, allocations: 15.8 kB / 435.3 MB, free: 1.176 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.452, allocations: 34.47 kB / 435.3 MB, free: 1.145 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.4528, allocations: 121.8 kB / 435.4 MB, free: 1.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.4532, allocations: 209 kB / 435.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.4535, allocations: 65.22 kB / 435.7 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.4539, allocations: 92.69 kB / 435.8 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.4541, allocations: 80.23 kB / 435.9 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.4541, allocations: 19.25 kB / 435.9 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.403e-05/0.4542, allocations: 25.98 kB / 435.9 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.4543, allocations: 45.34 kB / 436 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.4544, allocations: 69.53 kB / 436 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.4548, allocations: 229.7 kB / 436.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.709e-06/0.4548, allocations: 0 / 436.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.419e-06/0.4548, allocations: 1.062 kB / 436.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.4548, allocations: 0 / 436.3 MB, free: 0.4922 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.001025/0.4559, allocations: 471.8 kB / 436.7 MB, free: 52 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.876e-05/0.4559, allocations: 10.31 kB / 436.7 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.4561, allocations: 51.47 kB / 436.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.4563, allocations: 37.19 kB / 436.8 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.4567, allocations: 174.8 kB / 437 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.4569, allocations: 72.28 kB / 437.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.4569, allocations: 18.81 kB / 437.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008395/0.4578, allocations: 357.2 kB / 437.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4578, allocations: 1.25 kB / 437.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.4578, allocations: 5.688 kB / 437.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.4578, allocations: 3.406 kB / 437.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.4582, allocations: 124.7 kB / 437.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.4591, allocations: 400 kB / 437.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.4595, allocations: 197.5 kB / 438.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.4597, allocations: 98.92 kB / 438.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.4598, allocations: 6.734 kB / 438.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.4601, allocations: 137.9 kB / 438.4 MB, free: 14.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 4.178e-06/0.4602, allocations: 3.938 kB / 438.4 MB, free: 14.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007711/0.4609, allocations: 287.2 kB / 438.7 MB, free: 14.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.461, allocations: 87.89 kB / 438.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.4612, allocations: 155.2 kB / 438.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.4613, allocations: 32.02 kB / 438.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.4614, allocations: 115.4 kB / 439 MB, free: 14.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.4614, allocations: 37.45 kB / 439.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/0.4615, allocations: 51.38 kB / 439.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4617, allocations: 330.1 kB / 439.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4619, allocations: 97.23 kB / 439.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.4621, allocations: 174.5 kB / 439.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.4625, allocations: 236.9 kB / 439.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4625, allocations: 1.062 kB / 439.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005686/0.4631, allocations: 306.4 kB / 440.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/0.4632, allocations: 36.53 kB / 440.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.4632, allocations: 6.531 kB / 440.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/0.4632, allocations: 5.031 kB / 440.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.4634, allocations: 42.56 kB / 440.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.4634, allocations: 12.94 kB / 440.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.4635, allocations: 33 kB / 440.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.4636, allocations: 8.156 kB / 440.4 MB, free: 13.1 MB / 346.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 0.0001992/0.4638, allocations: 146.5 kB / 440.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.464, allocations: 108.1 kB / 440.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.73e-05/0.464, allocations: 19.84 kB / 440.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.4641, allocations: 3.5 kB / 440.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.4641, allocations: 0 / 440.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.4641, allocations: 9.047 kB / 440.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007834/0.4649, allocations: 448.4 kB / 441.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4649, allocations: 1.406 kB / 441.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.465, allocations: 38.88 kB / 441.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.465, allocations: 6.125 kB / 441.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.465, allocations: 10.05 kB / 441.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.465, allocations: 1.125 kB / 441.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.465, allocations: 1.281 kB / 441.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.4656, allocations: 331.8 kB / 441.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.4656, allocations: 21.12 kB / 441.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.4656, allocations: 5.969 kB / 441.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4657, allocations: 21.94 kB / 441.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.4658, allocations: 13.17 kB / 441.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.4659, allocations: 9.828 kB / 441.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.466, allocations: 109.2 kB / 441.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.466, allocations: 1.375 kB / 441.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.4663, allocations: 39.25 kB / 441.7 MB, free: 12.07 MB / 346.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.001118/0.4674, allocations: 0.9676 MB / 442.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006087/0.468, allocations: 269.5 kB / 442.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.468, allocations: 0 / 442.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.4681, allocations: 65.8 kB / 443 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.4686, allocations: 56.62 kB / 443.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.4718, allocations: 2.265 MB / 445.3 MB, free: 9.039 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.472, allocations: 117.9 kB / 445.4 MB, free: 8.938 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.897e-05/0.4721, allocations: 13.39 kB / 445.4 MB, free: 8.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.4722, allocations: 57.28 kB / 445.5 MB, free: 8.887 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.4722, allocations: 4 kB / 445.5 MB, free: 8.883 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/0.5896, allocations: 4.513 MB / 450 MB, free: 5.121 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/8.964, allocations: 4.062 kB / 450 MB, free: 5.117 MB / 346.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_fmu --startTime=0 --stopTime=2 --stepSize=0.000392542 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.fmu) > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.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.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_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.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.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_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.fmu) > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 12.030548523180187]