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.0009739/0.0009739, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001397/0.001397, allocations: 166 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9773/0.9773, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.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 1.693e-06/1.693e-06, allocations: 0 / 326.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.213e-05, allocations: 6.281 kB / 326.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample): time 0.002906/0.002928, allocations: 1.954 MB / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.00401, allocations: 0.6776 MB / 328.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.004134, allocations: 0 / 328.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.187e-05/0.004186, allocations: 23.73 kB / 328.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.004305, allocations: 15.81 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.004798, allocations: 143.2 kB / 328.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.005052, allocations: 204.1 kB / 329.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.005226, allocations: 68.89 kB / 329.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.005482, allocations: 131.6 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.005592, allocations: 67.83 kB / 329.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.005624, allocations: 16 kB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.005679, allocations: 35.88 kB / 329.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.005717, allocations: 35.89 kB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.617e-05/0.005783, allocations: 63.83 kB / 329.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.006061, allocations: 231.2 kB / 329.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.006064, allocations: 0 / 329.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.006065, allocations: 0 / 329.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.006071, allocations: 4 kB / 329.8 MB, free: 11.44 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.000729/0.0068, allocations: 472.3 kB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.006843, allocations: 16.02 kB / 330.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.006891, allocations: 50.73 kB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.007032, allocations: 28.8 kB / 330.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.007271, allocations: 178 kB / 330.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.843e-05/0.007349, allocations: 76.3 kB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.007373, allocations: 16.36 kB / 330.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.007967, allocations: 348.8 kB / 330.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.007979, allocations: 7.938 kB / 330.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.008001, allocations: 7.984 kB / 330.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.008008, allocations: 8 kB / 331 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005734/0.008582, allocations: 127.8 kB / 331.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.009136, allocations: 396.5 kB / 331.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.00951, allocations: 189.1 kB / 331.7 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.009689, allocations: 97.66 kB / 331.7 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.009712, allocations: 4 kB / 331.8 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.009965, allocations: 149.2 kB / 331.9 MB, free: 9.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.009966, allocations: 4 kB / 331.9 MB, free: 9.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006399/0.01061, allocations: 285.2 kB / 332.2 MB, free: 8.824 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.01068, allocations: 89.98 kB / 332.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.0108, allocations: 158 kB / 332.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.01083, allocations: 29.7 kB / 332.5 MB, free: 8.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.01089, allocations: 116.5 kB / 332.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.01092, allocations: 35.73 kB / 332.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.01098, allocations: 33.7 kB / 332.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.01107, allocations: 326.8 kB / 333 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.01121, allocations: 81.66 kB / 333 MB, free: 7.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.01135, allocations: 103.4 kB / 333.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.01158, allocations: 135.3 kB / 333.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01158, allocations: 0 / 333.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003521/0.01193, allocations: 232.9 kB / 333.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.01197, allocations: 40.61 kB / 333.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01197, allocations: 8.047 kB / 333.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01198, allocations: 0 / 333.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.0121, allocations: 27.97 kB / 333.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.0121, allocations: 0 / 333.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.319e-05/0.0122, allocations: 31.86 kB / 333.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.01221, allocations: 7.984 kB / 333.6 MB, free: 7.289 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 0.0001004/0.01231, allocations: 133.7 kB / 333.7 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.01247, allocations: 109.5 kB / 333.8 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.01251, allocations: 24.78 kB / 333.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01252, allocations: 0 / 333.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.01252, allocations: 8 kB / 333.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01253, allocations: 3.984 kB / 333.9 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.01305, allocations: 449.4 kB / 334.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.01305, allocations: 0 / 334.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.01318, allocations: 35.97 kB / 334.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01318, allocations: 0 / 334.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.0132, allocations: 15.98 kB / 334.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.0132, allocations: 0 / 334.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.0132, allocations: 0 / 334.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.01361, allocations: 323.9 kB / 334.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.01363, allocations: 27.78 kB / 334.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.01365, allocations: 0 / 334.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01377, allocations: 23.97 kB / 334.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.01383, allocations: 19.92 kB / 334.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.01385, allocations: 11.98 kB / 334.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.354e-05/0.01391, allocations: 118.2 kB / 334.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01391, allocations: 0 / 334.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.01416, allocations: 28 kB / 334.9 MB, free: 5.902 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.000829/0.01499, allocations: 0.9556 MB / 335.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.01538, allocations: 243.2 kB / 336.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01538, allocations: 0 / 336.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.01551, allocations: 59.89 kB / 336.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.01593, allocations: 63.88 kB / 336.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.01838, allocations: 2.027 MB / 338.2 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.954e-05/0.01847, allocations: 120.3 kB / 338.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.09e-05/0.01853, allocations: 17.08 kB / 338.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-05/0.01862, allocations: 60.45 kB / 338.4 MB, free: 2.176 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01862, allocations: 0 / 338.4 MB, free: 2.176 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08313/0.1018, allocations: 4.523 MB / 343 MB, free: 13.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.09, allocations: 10.73 kB / 343 MB, free: 13.79 MB / 314.7 MB " [Timeout remaining time 653] (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: 9.704713334329426]