Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002634, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008443/0.0008443, allocations: 145.2 kB / 11.2 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001918, allocations: 475.5 kB / 11.66 MB, free: 2.516 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.026/1.026, allocations: 177.1 MB / 189.5 MB, free: 3.617 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2237/1.25, allocations: 53.74 MB / 243.3 MB, free: 2.066 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 244.5 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.325e-05, allocations: 2.312 kB / 244.5 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample): time 0.003005/0.003039, allocations: 2.056 MB / 246.5 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.004141, allocations: 0.7071 MB / 247.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.004253, allocations: 0 / 247.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.236e-05/0.004296, allocations: 23.73 kB / 247.3 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.834e-05/0.004374, allocations: 21.77 kB / 247.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.004729, allocations: 131.5 kB / 247.4 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.004967, allocations: 200.9 kB / 247.6 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.005142, allocations: 74.14 kB / 247.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.005409, allocations: 139.7 kB / 247.8 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.00553, allocations: 64.41 kB / 247.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.005563, allocations: 21.53 kB / 247.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.005635, allocations: 28 kB / 247.9 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.005672, allocations: 31.88 kB / 248 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.005729, allocations: 47.88 kB / 248 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.005946, allocations: 136.2 kB / 248.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.005962, allocations: 0 / 248.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005963, allocations: 0.6562 kB / 248.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.005976, allocations: 0 / 248.2 MB, free: 13.23 MB / 250.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.0006917/0.006668, allocations: 442 kB / 248.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.006708, allocations: 8.031 kB / 248.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.006748, allocations: 46.72 kB / 248.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.00693, allocations: 118 kB / 248.8 MB, free: 12.56 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.00715, allocations: 164.3 kB / 248.9 MB, free: 12.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/0.007217, allocations: 68.3 kB / 249 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.007238, allocations: 16.36 kB / 249 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.007666, allocations: 311.9 kB / 249.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.007677, allocations: 0 / 249.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.007694, allocations: 9.25 kB / 249.3 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.0077, allocations: 4 kB / 249.3 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.007782, allocations: 42.03 kB / 249.4 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.008234, allocations: 292.2 kB / 249.6 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.008407, allocations: 120.7 kB / 249.8 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.008464, allocations: 53.88 kB / 249.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.008493, allocations: 11.94 kB / 249.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.008614, allocations: 109 kB / 249.9 MB, free: 11.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.442e-06/0.008615, allocations: 0 / 249.9 MB, free: 11.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0002174/0.008833, allocations: 133.5 kB / 250.1 MB, free: 11.13 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.008891, allocations: 89.11 kB / 250.1 MB, free: 11.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.854e-05/0.008979, allocations: 157.3 kB / 250.3 MB, free: 10.86 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.009003, allocations: 33.7 kB / 250.3 MB, free: 10.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.00906, allocations: 104.5 kB / 250.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.009084, allocations: 43.72 kB / 250.5 MB, free: 10.67 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.009132, allocations: 33.69 kB / 250.5 MB, free: 10.63 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.009231, allocations: 318.8 kB / 250.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.009281, allocations: 53.62 kB / 250.9 MB, free: 10.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.009329, allocations: 63.39 kB / 250.9 MB, free: 10.18 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.009402, allocations: 71.38 kB / 251 MB, free: 10.1 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.009406, allocations: 11.88 kB / 251 MB, free: 10.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000134/0.00954, allocations: 141 kB / 251.2 MB, free: 9.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.009582, allocations: 37.77 kB / 251.2 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.009588, allocations: 0 / 251.2 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.0096, allocations: 0 / 251.2 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.009714, allocations: 35.97 kB / 251.2 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.009716, allocations: 0 / 251.2 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.009779, allocations: 11.95 kB / 251.2 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.009791, allocations: 11.92 kB / 251.3 MB, free: 9.828 MB / 250.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 9.7e-05/0.009888, allocations: 125.7 kB / 251.4 MB, free: 9.695 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.111e-05/0.009979, allocations: 81.48 kB / 251.5 MB, free: 9.613 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.01002, allocations: 28.77 kB / 251.5 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01003, allocations: 0 / 251.5 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.01003, allocations: 0 / 251.5 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.01004, allocations: 7.984 kB / 251.5 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.01033, allocations: 297.9 kB / 251.8 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01033, allocations: 0 / 251.8 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.01044, allocations: 47.91 kB / 251.8 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01045, allocations: 3.984 kB / 251.8 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.01046, allocations: 8 kB / 251.8 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01046, allocations: 4 kB / 251.8 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01046, allocations: 0 / 251.8 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.01059, allocations: 172.3 kB / 252 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.01061, allocations: 19.83 kB / 252 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.01063, allocations: 11.94 kB / 252 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.01071, allocations: 15.98 kB / 252.1 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.01076, allocations: 15.97 kB / 252.1 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.01077, allocations: 7.938 kB / 252.1 MB, free: 8.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.589e-05/0.01079, allocations: 29.44 kB / 252.1 MB, free: 8.898 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01079, allocations: 0 / 252.1 MB, free: 8.898 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.01095, allocations: 39.95 kB / 252.1 MB, free: 8.859 MB / 250.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.0004624/0.01141, allocations: 0.7077 MB / 252.9 MB, free: 8.125 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.0116, allocations: 149.9 kB / 253 MB, free: 7.957 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.01161, allocations: 8 kB / 253 MB, free: 7.949 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.01165, allocations: 28.84 kB / 253 MB, free: 7.918 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.0119, allocations: 68.41 kB / 253.1 MB, free: 7.855 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.01307, allocations: 1.157 MB / 254.3 MB, free: 6.617 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.01312, allocations: 87.62 kB / 254.3 MB, free: 6.512 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.223e-05/0.01316, allocations: 13.14 kB / 254.4 MB, free: 6.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.01329, allocations: 107.3 kB / 254.5 MB, free: 6.395 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01329, allocations: 0 / 254.5 MB, free: 6.395 MB / 250.7 MB Notification: Performance of FMU documentation: time 0.02876/0.04205, allocations: 5.053 MB / 259.5 MB, free: 1.641 MB / 250.7 MB Notification: FMU-only work: backend 0.0003562, simCode 0.000527, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07385/0.1159, allocations: 1.373 MB / 260.9 MB, free: 208 kB / 250.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.221/3.337, allocations: 22.73 kB / 260.9 MB, free: 188 kB / 250.7 MB " [Timeout remaining time 657] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_fmu --startTime=0 --stopTime=2 --stepSize=0.000392542 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.fmu) > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample_angle.y,rotationalClock.angle,rotationalClock.direction,rotationalClock.direction_changed Variables in the result:angle_input.amplitude,angle_input.continuous,angle_input.f,angle_input.offset,angle_input.phase,angle_input.startTime,angle_input.y,previous(rotationalClock.changed.u),rotationalClock.abs1.generateEvent,rotationalClock.abs1.u,rotationalClock.abs1.y,rotationalClock.abs2.generateEvent,rotationalClock.abs2.u,rotationalClock.abs2.y,rotationalClock.angle,rotationalClock.angular_offset.u,rotationalClock.angular_offset.y,rotationalClock.angular_offset.y_start,rotationalClock.cast.u,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.direction_sign.generateEvent,rotationalClock.direction_sign.u,rotationalClock.direction_sign.y,rotationalClock.less.u1,rotationalClock.less.u2,rotationalClock.less.y,rotationalClock.sub.k1,rotationalClock.sub.k2,rotationalClock.sub.u1,rotationalClock.sub.u2,rotationalClock.sub.y,rotationalClock.trigger_interval,rotationalClock.update_direction.u,rotationalClock.update_direction.y,rotationalClock.update_offset.u,rotationalClock.update_offset.y,rotationalClock.useSolver,rotationalClock.y_clock.u,rotationalClock.y_clock.useSolver,sample_angle.u,sample_angle.y,time,trigger_interval_input.amplitude,trigger_interval_input.nperiod,trigger_interval_input.offset,trigger_interval_input.period,trigger_interval_input.startTime,trigger_interval_input.width,trigger_interval_input.y filterSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.diff.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.diff.ref.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=2 --stepSize=0.000392542 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample_angle.y,rotationalClock.angle,rotationalClock.direction,rotationalClock.direction_changed Variables in the result:angle_input.amplitude,angle_input.continuous,angle_input.f,angle_input.offset,angle_input.phase,angle_input.startTime,angle_input.y,previous(rotationalClock.changed.u),rotationalClock.abs1.generateEvent,rotationalClock.abs1.u,rotationalClock.abs1.y,rotationalClock.abs2.generateEvent,rotationalClock.abs2.u,rotationalClock.abs2.y,rotationalClock.angle,rotationalClock.angular_offset.u,rotationalClock.angular_offset.y,rotationalClock.angular_offset.y_start,rotationalClock.cast.u,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.direction_sign.generateEvent,rotationalClock.direction_sign.u,rotationalClock.direction_sign.y,rotationalClock.less.u1,rotationalClock.less.u2,rotationalClock.less.y,rotationalClock.sub.k1,rotationalClock.sub.k2,rotationalClock.sub.u1,rotationalClock.sub.u2,rotationalClock.sub.y,rotationalClock.trigger_interval,rotationalClock.update_direction.u,rotationalClock.update_direction.y,rotationalClock.update_offset.u,rotationalClock.update_offset.y,rotationalClock.useSolver,rotationalClock.y_clock.u,rotationalClock.y_clock.useSolver,sample_angle.u,sample_angle.y,time,trigger_interval_input.amplitude,trigger_interval_input.nperiod,trigger_interval_input.offset,trigger_interval_input.period,trigger_interval_input.startTime,trigger_interval_input.width,trigger_interval_input.y filterSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.diff.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-cvode.diff.ref.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.000392542 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample_angle.y,rotationalClock.angle,rotationalClock.direction,rotationalClock.direction_changed Variables in the result:angle_input.amplitude,angle_input.continuous,angle_input.f,angle_input.offset,angle_input.phase,angle_input.startTime,angle_input.y,previous(rotationalClock.changed.u),rotationalClock.abs1.generateEvent,rotationalClock.abs1.u,rotationalClock.abs1.y,rotationalClock.abs2.generateEvent,rotationalClock.abs2.u,rotationalClock.abs2.y,rotationalClock.angle,rotationalClock.angular_offset.u,rotationalClock.angular_offset.y,rotationalClock.angular_offset.y_start,rotationalClock.cast.u,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.direction_sign.generateEvent,rotationalClock.direction_sign.u,rotationalClock.direction_sign.y,rotationalClock.less.u1,rotationalClock.less.u2,rotationalClock.less.y,rotationalClock.sub.k1,rotationalClock.sub.k2,rotationalClock.sub.u1,rotationalClock.sub.u2,rotationalClock.sub.y,rotationalClock.trigger_interval,rotationalClock.update_direction.u,rotationalClock.update_direction.y,rotationalClock.update_offset.u,rotationalClock.update_offset.y,rotationalClock.useSolver,rotationalClock.y_clock.u,rotationalClock.y_clock.useSolver,sample_angle.u,sample_angle.y,time,trigger_interval_input.amplitude,trigger_interval_input.nperiod,trigger_interval_input.offset,trigger_interval_input.period,trigger_interval_input.startTime,trigger_interval_input.width,trigger_interval_input.y filterSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.diff.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_OMSimulator-cs-euler.diff.ref.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv --output-variables sample_angle.y rotationalClock.angle rotationalClock.direction rotationalClock.direction_changed --start-time 0 --stop-time 2 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000392542 ../Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.fmu) > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv: Error: Error opening file: Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,sample_angle.y,rotationalClock.angle,rotationalClock.direction,rotationalClock.direction_changed Variables in the result: filterSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy.diff.ref.mat: "" (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 2 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.000392542 ../Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_fmpy-fmi3-cs-cvode.fmu) > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_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] "Error: Could not read variable sample_angle.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable sample_angle.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable rotationalClock.angle in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable rotationalClock.angle from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable rotationalClock.direction in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable rotationalClock.direction from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable rotationalClock.direction_changed in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable rotationalClock.direction_changed from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,sample_angle.y,rotationalClock.angle,rotationalClock.direction,rotationalClock.direction_changed Variables in the result:time filterSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode.diff.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "rotationalClock.angle", "sample_angle.y"}, removeDescription=false) [Timeout 660] "Error: Could not read variable rotationalClock.direction_changed in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/RotationalSample/RotationalSample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"rotationalClock.direction_changed", "rotationalClock.direction", "rotationalClock.angle", "sample_angle.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 6.295887395739555]