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.001844/0.001844, allocations: 109.1 kB / 21.22 MB, free: 0.75 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.002839/0.002839, allocations: 213.4 kB / 24.53 MB, free: 4.148 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.729/1.729, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.002092/0.002092, allocations: 67.88 kB / 378.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4143, allocations: 53.41 MB / 432 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.004125/0.4184, allocations: 1.584 MB / 433.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.4196, allocations: 0.5726 MB / 434.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.4197, allocations: 4 kB / 434.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.292e-05/0.4198, allocations: 11.86 kB / 434.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.42, allocations: 7.938 kB / 434.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.4205, allocations: 67.73 kB / 434.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.4206, allocations: 47.8 kB / 434.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.4208, allocations: 20.09 kB / 434.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.421, allocations: 31.91 kB / 434.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.421, allocations: 19.86 kB / 434.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.4211, allocations: 4 kB / 434.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.613e-05/0.4211, allocations: 4 kB / 434.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.4212, allocations: 8 kB / 434.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.4212, allocations: 39.73 kB / 434.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.4214, allocations: 55.17 kB / 434.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4214, allocations: 0 / 434.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.4214, allocations: 0 / 434.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.4214, allocations: 3.938 kB / 434.4 MB, free: 4.223 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.0006119/0.422, allocations: 310.9 kB / 434.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.4221, allocations: 8.031 kB / 434.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.785e-05/0.4221, allocations: 4.188 kB / 434.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.4222, allocations: 30.75 kB / 434.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.4224, allocations: 20.88 kB / 434.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.4227, allocations: 149.1 kB / 434.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.4227, allocations: 384 / 434.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.4227, allocations: 12.12 kB / 435 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.423, allocations: 105 kB / 435.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4231, allocations: 0 / 435.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4231, allocations: 0 / 435.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4231, allocations: 0 / 435.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.4232, allocations: 23.92 kB / 435.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.4236, allocations: 236.8 kB / 435.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.4237, allocations: 41.16 kB / 435.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.4237, allocations: 21.77 kB / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.4237, allocations: 0 / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.4238, allocations: 30.56 kB / 435.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4238, allocations: 8 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003085/0.4241, allocations: 69.56 kB / 435.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/0.4242, allocations: 77.11 kB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.4243, allocations: 137.8 kB / 435.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.4244, allocations: 25.7 kB / 435.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.4244, allocations: 96.06 kB / 435.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4245, allocations: 16.14 kB / 435.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.4245, allocations: 13.72 kB / 435.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4247, allocations: 322.8 kB / 436.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.4247, allocations: 4 kB / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.353e-05/0.4248, allocations: 21.7 kB / 436.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.966e-05/0.4248, allocations: 29.77 kB / 436.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4248, allocations: 7.938 kB / 436.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001446/0.425, allocations: 57.58 kB / 436.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.425, allocations: 6.188 kB / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.425, allocations: 0 / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.425, allocations: 0 / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.4251, allocations: 11.98 kB / 436.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4251, allocations: 0 / 436.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.4251, allocations: 4.062 kB / 436.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.4252, allocations: 4 kB / 436.3 MB, free: 2.125 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.0001184/0.4253, allocations: 117.8 kB / 436.4 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.4254, allocations: 45.58 kB / 436.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.4254, allocations: 11.77 kB / 436.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4254, allocations: 4 kB / 436.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4254, allocations: 4 kB / 436.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4254, allocations: 0 / 436.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.4256, allocations: 144.7 kB / 436.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.667e-05/0.4256, allocations: 4 kB / 436.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.4257, allocations: 7.984 kB / 436.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4257, allocations: 0 / 436.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4257, allocations: 0 / 436.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4257, allocations: 0 / 436.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4257, allocations: 0 / 436.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.4259, allocations: 172.2 kB / 436.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.4259, allocations: 11.95 kB / 436.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.4259, allocations: 4 kB / 436.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.426, allocations: 3.984 kB / 436.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.426, allocations: 4 kB / 436.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.426, allocations: 0 / 436.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.4261, allocations: 110 kB / 436.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4261, allocations: 0 / 436.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.4263, allocations: 11.94 kB / 436.9 MB, free: 1.406 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.0005219/0.4269, allocations: 0.6937 MB / 437.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.427, allocations: 24.02 kB / 437.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.427, allocations: 0 / 437.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.427, allocations: 8 kB / 437.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4274, allocations: 19.95 kB / 437.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.4289, allocations: 1.343 MB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.4292, allocations: 0.6885 MB / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4e-05/0.4293, allocations: 7.984 kB / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.4293, allocations: 11.44 kB / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4293, allocations: 0 / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.4528, allocations: 1.697 MB / 441.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.92, allocations: 11.05 kB / 441.4 MB, free: 12.88 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.895062330993824]