Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001621/0.001621, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.001982/0.001982, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 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.446/1.446, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 55.91 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3888, allocations: 53.42 MB / 431.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.004109/0.3929, allocations: 1.565 MB / 433.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3943, allocations: 0.5259 MB / 434 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.3944, allocations: 4 kB / 434 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.586e-05/0.3944, allocations: 7.922 kB / 434 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.3946, allocations: 11.88 kB / 434 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.395, allocations: 63.75 kB / 434.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.3952, allocations: 39.86 kB / 434.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3953, allocations: 18.27 kB / 434.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.3955, allocations: 35.8 kB / 434.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.3955, allocations: 23.86 kB / 434.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3955, allocations: 4 kB / 434.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-05/0.3956, allocations: 11.98 kB / 434.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.3956, allocations: 11.94 kB / 434.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.3957, allocations: 19.86 kB / 434.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.3959, allocations: 59.67 kB / 434.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3959, allocations: 4 kB / 434.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3959, allocations: 0 / 434.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3959, allocations: 0 / 434.3 MB, free: 4.066 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005625/0.3964, allocations: 306 kB / 434.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3965, allocations: 8.031 kB / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.126e-05/0.3965, allocations: 8.125 kB / 434.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.3965, allocations: 34.75 kB / 434.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.3967, allocations: 16.88 kB / 434.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.397, allocations: 145.1 kB / 434.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.397, allocations: 12.31 kB / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.397, allocations: 4.125 kB / 434.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.3973, allocations: 109 kB / 434.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3973, allocations: 0 / 434.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3974, allocations: 0 / 434.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3974, allocations: 0 / 434.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.722e-05/0.3974, allocations: 23.92 kB / 435 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.3978, allocations: 228.8 kB / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.3979, allocations: 53.12 kB / 435.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.398, allocations: 13.78 kB / 435.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.398, allocations: 8 kB / 435.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.398, allocations: 30.56 kB / 435.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.398, allocations: 0 / 435.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002672/0.3983, allocations: 73.56 kB / 435.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.3984, allocations: 77.11 kB / 435.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3985, allocations: 141.8 kB / 435.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3985, allocations: 25.7 kB / 435.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.3986, allocations: 84.14 kB / 435.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.3986, allocations: 16.2 kB / 435.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.3987, allocations: 13.7 kB / 435.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3988, allocations: 322.8 kB / 436 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.3989, allocations: 7.984 kB / 436 MB, free: 2.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.635e-05/0.3989, allocations: 25.66 kB / 436.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.399, allocations: 29.7 kB / 436.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.399, allocations: 0 / 436.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001291/0.3991, allocations: 61.64 kB / 436.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3991, allocations: 7.938 kB / 436.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3991, allocations: 3.984 kB / 436.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3992, allocations: 3.984 kB / 436.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.3992, allocations: 8 kB / 436.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3992, allocations: 0 / 436.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.3993, allocations: 0 / 436.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3993, allocations: 4 kB / 436.2 MB, free: 1.965 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001038/0.3994, allocations: 121.8 kB / 436.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.3994, allocations: 49.66 kB / 436.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.3995, allocations: 11.75 kB / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3995, allocations: 7.938 kB / 436.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3995, allocations: 0 / 436.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3995, allocations: 0 / 436.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.3997, allocations: 140.7 kB / 436.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3997, allocations: 0 / 436.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.3997, allocations: 7.984 kB / 436.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3997, allocations: 0 / 436.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3997, allocations: 0 / 436.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3997, allocations: 8.031 kB / 436.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3997, allocations: 0 / 436.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.3999, allocations: 160.3 kB / 436.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.3999, allocations: 15.88 kB / 436.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.4, allocations: 0 / 436.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.4, allocations: 11.98 kB / 436.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.4001, allocations: 0 / 436.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4001, allocations: 0 / 436.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.313e-05/0.4001, allocations: 114 kB / 436.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4001, allocations: 0 / 436.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.4004, allocations: 8.031 kB / 436.8 MB, free: 1.246 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005649/0.4009, allocations: 0.6898 MB / 437.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.4011, allocations: 23.92 kB / 437.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4011, allocations: 0 / 437.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.4011, allocations: 8 kB / 437.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.4015, allocations: 20.23 kB / 437.6 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.4031, allocations: 1.332 MB / 438.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.418e-05/0.4031, allocations: 75.33 kB / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.4032, allocations: 4.125 kB / 439 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.4032, allocations: 19.56 kB / 439 MB, free: 14.93 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4032, allocations: 0 / 439 MB, free: 14.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.4261, allocations: 1.748 MB / 440.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.19, allocations: 24.33 kB / 440.8 MB, free: 13.29 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,superSample1.factor,time [Calling sys.exit(0), Time elapsed: 13.73266878305003]