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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001549, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.33 kB / 306.6 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1536, allocations: 50.53 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003143/0.1568, allocations: 1.652 MB / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1579, allocations: 0.5571 MB / 359.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.158, allocations: 0 / 359.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.737e-05/0.1581, allocations: 7.875 kB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1583, allocations: 7.938 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.1586, allocations: 55.88 kB / 359.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.1588, allocations: 51.84 kB / 359.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1589, allocations: 28.16 kB / 359.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.159, allocations: 27.86 kB / 359.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.1591, allocations: 19.92 kB / 359.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1591, allocations: 0 / 359.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.475e-05/0.1592, allocations: 8 kB / 359.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.1593, allocations: 23.84 kB / 359.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.1593, allocations: 27.75 kB / 359.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1595, allocations: 55.8 kB / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1595, allocations: 0 / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1595, allocations: 4 kB / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1595, allocations: 0 / 359.6 MB, free: 11.79 MB / 302.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.000713/0.1602, allocations: 387.3 kB / 360 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.1603, allocations: 11.97 kB / 360 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.1603, allocations: 34.75 kB / 360 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.1605, allocations: 16.83 kB / 360.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.1608, allocations: 196.1 kB / 360.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1608, allocations: 8.125 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.1608, allocations: 4 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.1613, allocations: 117.9 kB / 360.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1613, allocations: 3.938 kB / 360.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1614, allocations: 0 / 360.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1614, allocations: 0 / 360.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.1615, allocations: 27.98 kB / 360.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.1619, allocations: 278.5 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1621, allocations: 71.78 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.559e-05/0.1621, allocations: 34.61 kB / 360.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.1622, allocations: 4 kB / 360.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1622, allocations: 34.56 kB / 360.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1622, allocations: 3.938 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003069/0.1625, allocations: 89.45 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.1626, allocations: 106.8 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1628, allocations: 149.7 kB / 361.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1628, allocations: 29.7 kB / 361.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.1629, allocations: 92.03 kB / 361.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.1629, allocations: 384 / 361.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.163, allocations: 21.72 kB / 361.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1632, allocations: 322.8 kB / 361.6 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.404e-05/0.1632, allocations: 4 kB / 361.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.1633, allocations: 35.42 kB / 361.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1634, allocations: 51.36 kB / 361.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1634, allocations: 0 / 361.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001763/0.1636, allocations: 77.45 kB / 361.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1636, allocations: 7.938 kB / 361.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1636, allocations: 128 / 361.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1637, allocations: 8 kB / 361.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/0.1637, allocations: 4 kB / 361.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1638, allocations: 7.938 kB / 361.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/0.1638, allocations: 3.984 kB / 361.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1638, allocations: 4 kB / 361.8 MB, free: 9.273 MB / 302.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.0001079/0.1639, allocations: 118.9 kB / 361.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.654e-05/0.164, allocations: 61.53 kB / 362 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.1641, allocations: 15.94 kB / 362 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1641, allocations: 0 / 362 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1641, allocations: 3.938 kB / 362 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1641, allocations: 4 kB / 362 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.1643, allocations: 169.6 kB / 362.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1643, allocations: 0 / 362.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.1644, allocations: 8 kB / 362.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1644, allocations: 4 kB / 362.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1644, allocations: 0 / 362.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1644, allocations: 3.984 kB / 362.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.1644, allocations: 3.938 kB / 362.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.1646, allocations: 185.1 kB / 362.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.1647, allocations: 89 kB / 362.5 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1647, allocations: 4 kB / 362.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.1648, allocations: 4 kB / 362.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1649, allocations: 7.938 kB / 362.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.1649, allocations: 4 kB / 362.5 MB, free: 8.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.165, allocations: 110.6 kB / 362.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.165, allocations: 0 / 362.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1652, allocations: 11.94 kB / 362.6 MB, free: 8.375 MB / 302.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.0006548/0.1659, allocations: 0.714 MB / 363.3 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1661, allocations: 35.92 kB / 363.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1661, allocations: 0 / 363.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.1661, allocations: 4 kB / 363.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.1666, allocations: 40.39 kB / 363.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.1682, allocations: 1.412 MB / 364.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.1687, allocations: 0.6963 MB / 365.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.863e-05/0.1687, allocations: 8.219 kB / 365.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.1688, allocations: 19.44 kB / 365.5 MB, free: 5.285 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1688, allocations: 0 / 365.5 MB, free: 5.285 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.185, allocations: 1.562 MB / 367.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.1852, allocations: 212.6 kB / 367.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.216, allocations: 0 / 367.3 MB, free: 3.602 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches