Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.002595/0.002595, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.003576/0.003576, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.849/1.849, 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.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 59.91 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1482, allocations: 53.38 MB / 427.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003689/0.1519, allocations: 1.601 MB / 428.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1531, allocations: 0.5727 MB / 429.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1532, allocations: 4 kB / 429.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.962e-05/0.1533, allocations: 7.875 kB / 429.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.1534, allocations: 3.938 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.1538, allocations: 71.73 kB / 429.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1539, allocations: 51.78 kB / 429.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1541, allocations: 16.12 kB / 429.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1542, allocations: 31.91 kB / 429.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.188e-05/0.1543, allocations: 19.86 kB / 429.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1543, allocations: 4 kB / 429.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.832e-05/0.1543, allocations: 4 kB / 429.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.1544, allocations: 15.92 kB / 429.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.1544, allocations: 31.8 kB / 429.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.1546, allocations: 63.61 kB / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1546, allocations: 0 / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1546, allocations: 0 / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1546, allocations: 0 / 429.6 MB, free: 2.082 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.0006105/0.1552, allocations: 391 kB / 429.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1553, allocations: 8.031 kB / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.948e-05/0.1553, allocations: 192 / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.1554, allocations: 34.75 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.1555, allocations: 16.88 kB / 430 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.1558, allocations: 211.5 kB / 430.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1558, allocations: 11.94 kB / 430.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.1559, allocations: 4 kB / 430.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.1562, allocations: 121.8 kB / 430.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1562, allocations: 0 / 430.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1562, allocations: 7.984 kB / 430.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1562, allocations: 0 / 430.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.1563, allocations: 23.98 kB / 430.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.1568, allocations: 274.5 kB / 430.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.1569, allocations: 67.78 kB / 430.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.157, allocations: 34.62 kB / 430.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.157, allocations: 0 / 430.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.157, allocations: 34.56 kB / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.157, allocations: 4 kB / 430.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003114/0.1573, allocations: 89.45 kB / 430.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/0.1574, allocations: 106.8 kB / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1576, allocations: 149.8 kB / 431.1 MB, free: 276 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1576, allocations: 25.7 kB / 431.1 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.1577, allocations: 84.52 kB / 431.2 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.1577, allocations: 8 kB / 431.2 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.1577, allocations: 25.66 kB / 431.3 MB, free: 116 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1579, allocations: 314.8 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.1579, allocations: 11.98 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.158, allocations: 31.42 kB / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1581, allocations: 51.36 kB / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1581, allocations: 0 / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001464/0.1582, allocations: 73.5 kB / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1583, allocations: 4.125 kB / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1583, allocations: 8 kB / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1583, allocations: 3.984 kB / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.1584, allocations: 11.94 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1584, allocations: 3.938 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.1584, allocations: 4 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1584, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001046/0.1585, allocations: 125.8 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.1586, allocations: 61.56 kB / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.1587, allocations: 11.88 kB / 432 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1587, allocations: 0 / 432 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1587, allocations: 7.938 kB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1587, allocations: 0 / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.1589, allocations: 169.7 kB / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1589, allocations: 3.984 kB / 432.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.1589, allocations: 8 kB / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1589, allocations: 0 / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1589, allocations: 0 / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1589, allocations: 0 / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.1589, allocations: 15.91 kB / 432.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.1591, allocations: 173.2 kB / 432.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.1592, allocations: 93.05 kB / 432.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1592, allocations: 11.98 kB / 432.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.1593, allocations: 0 / 432.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.1594, allocations: 7.938 kB / 432.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1594, allocations: 4 kB / 432.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.699e-05/0.1594, allocations: 113.9 kB / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1594, allocations: 0 / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.1597, allocations: 8 kB / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0005272/0.1602, allocations: 0.7063 MB / 433.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.1604, allocations: 39.84 kB / 433.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1604, allocations: 0 / 433.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.1604, allocations: 4.25 kB / 433.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1608, allocations: 36.2 kB / 433.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1623, allocations: 1.412 MB / 434.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1626, allocations: 0.6885 MB / 435.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.1627, allocations: 4 kB / 435.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.1627, allocations: 19.42 kB / 435.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1627, allocations: 7.938 kB / 435.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.184, allocations: 1.74 MB / 437.2 MB, free: 9.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.298, allocations: 19.42 kB / 437.2 MB, free: 9.945 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSample1.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,superSample1.inferFactor,superSample1.u,superSample1.y,time [Calling sys.exit(0), Time elapsed: 11.640641777019482]