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.001811/0.001811, allocations: 124.2 kB / 18.5 MB, free: 4.578 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.001586/0.001586, allocations: 214.2 kB / 21.45 MB, free: 1.629 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.628/1.628, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001976/0.001976, allocations: 55.91 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1459, allocations: 53.37 MB / 427 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003039/0.1489, allocations: 1.57 MB / 428.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1501, allocations: 0.5766 MB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.1502, allocations: 7.938 kB / 429.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.217e-05/0.1502, allocations: 3.938 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.1504, allocations: 7.922 kB / 429.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1507, allocations: 67.73 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1509, allocations: 47.8 kB / 429.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.151, allocations: 12.17 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1511, allocations: 27.91 kB / 429.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.1511, allocations: 19.86 kB / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1511, allocations: 8 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.303e-05/0.1512, allocations: 12 kB / 429.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.1512, allocations: 11.94 kB / 429.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.1513, allocations: 23.8 kB / 429.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1514, allocations: 67.61 kB / 429.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1514, allocations: 0 / 429.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1514, allocations: 0 / 429.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1515, allocations: 3.938 kB / 429.5 MB, free: 2.242 MB / 350.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.000552/0.152, allocations: 381.6 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.152, allocations: 8.031 kB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.501e-05/0.1521, allocations: 8.188 kB / 429.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.1521, allocations: 34.75 kB / 429.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.1522, allocations: 16.88 kB / 429.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1525, allocations: 204.2 kB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1525, allocations: 384 / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.1525, allocations: 8.125 kB / 430.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1528, allocations: 113 kB / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1528, allocations: 0 / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1528, allocations: 4 kB / 430.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1528, allocations: 0 / 430.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.1529, allocations: 19.97 kB / 430.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.1533, allocations: 265.8 kB / 430.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.1534, allocations: 45.2 kB / 430.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.1534, allocations: 21.72 kB / 430.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1535, allocations: 4 kB / 430.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1535, allocations: 38.55 kB / 430.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1535, allocations: 3.938 kB / 430.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002427/0.1537, allocations: 65.58 kB / 430.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.1538, allocations: 81.05 kB / 430.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1539, allocations: 146.1 kB / 430.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.154, allocations: 29.7 kB / 431 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.154, allocations: 88.14 kB / 431.1 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.154, allocations: 7.938 kB / 431.1 MB, free: 452 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.1541, allocations: 13.72 kB / 431.1 MB, free: 432 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1542, allocations: 318.8 kB / 431.4 MB, free: 104 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-05/0.1542, allocations: 7.984 kB / 431.4 MB, free: 96 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.405e-05/0.1543, allocations: 25.72 kB / 431.4 MB, free: 64 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.491e-05/0.1544, allocations: 25.7 kB / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1544, allocations: 0 / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001385/0.1545, allocations: 65.56 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1545, allocations: 6.5 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1545, allocations: 0 / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1545, allocations: 4.125 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.1546, allocations: 4 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.1546, allocations: 4 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.391e-05/0.1546, allocations: 3.984 kB / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.1547, allocations: 3.938 kB / 431.5 MB, free: 15.94 MB / 366.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 9.496e-05/0.1547, allocations: 125.7 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.1548, allocations: 33.66 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.1548, allocations: 15.86 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1548, allocations: 4.031 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1548, allocations: 4 kB / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1548, allocations: 0 / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.1551, allocations: 165.6 kB / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1551, allocations: 0 / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.1551, allocations: 4 kB / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1551, allocations: 4 kB / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1551, allocations: 7.984 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1551, allocations: 0 / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1551, allocations: 0 / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.1553, allocations: 164.2 kB / 432 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.1554, allocations: 93.05 kB / 432.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.1554, allocations: 0 / 432.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.1555, allocations: 11.92 kB / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.1555, allocations: 0 / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1555, allocations: 0 / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.837e-05/0.1556, allocations: 117.9 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1556, allocations: 0 / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1558, allocations: 4 kB / 432.3 MB, free: 15.09 MB / 366.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.000539/0.1564, allocations: 0.6976 MB / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.1565, allocations: 19.98 kB / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1565, allocations: 0 / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.1566, allocations: 15.94 kB / 433 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.157, allocations: 16.02 kB / 433 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1585, allocations: 1.33 MB / 434.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1588, allocations: 0.6885 MB / 435 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.1588, allocations: 4 kB / 435 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.1589, allocations: 15.44 kB / 435.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1589, allocations: 4.031 kB / 435.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.1767, allocations: 1.609 MB / 436.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.475/8.652, allocations: 15.36 kB / 436.7 MB, free: 10.66 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.749605971039273]