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.001146/0.001146, allocations: 105.8 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.42 kB / 306.4 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1456, allocations: 50.54 MB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003747/0.1494, allocations: 1.648 MB / 358.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1509, allocations: 0.561 MB / 359.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.151, allocations: 0 / 359.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.3e-05/0.1512, allocations: 3.938 kB / 359.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1514, allocations: 7.938 kB / 359.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.1518, allocations: 63.88 kB / 359.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.152, allocations: 47.84 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.1521, allocations: 16.17 kB / 359.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.1523, allocations: 31.78 kB / 359.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.1524, allocations: 23.86 kB / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1524, allocations: 0 / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.276e-05/0.1525, allocations: 7.938 kB / 359.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.1525, allocations: 23.92 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.1526, allocations: 19.81 kB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1527, allocations: 59.8 kB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1527, allocations: 0 / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1527, allocations: 0 / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1527, allocations: 0 / 359.4 MB, free: 11.66 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.0005773/0.1533, allocations: 385.5 kB / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.1534, allocations: 8.031 kB / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.1534, allocations: 34.73 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.1536, allocations: 24.84 kB / 359.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1538, allocations: 197.6 kB / 360 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1538, allocations: 8.125 kB / 360 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.1539, allocations: 7.938 kB / 360.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.1542, allocations: 109.9 kB / 360.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1542, allocations: 8 kB / 360.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1542, allocations: 0 / 360.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1542, allocations: 0 / 360.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.318e-05/0.1543, allocations: 19.98 kB / 360.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.1547, allocations: 278.5 kB / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1549, allocations: 67.78 kB / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.135e-05/0.1549, allocations: 34.62 kB / 360.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.155, allocations: 0 / 360.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.155, allocations: 42.56 kB / 360.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.155, allocations: 0 / 360.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003126/0.1553, allocations: 85.45 kB / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.1554, allocations: 102.8 kB / 360.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1556, allocations: 160.1 kB / 360.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1557, allocations: 25.7 kB / 361 MB, free: 9.832 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.1558, allocations: 92.05 kB / 361.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1558, allocations: 11.92 kB / 361.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.1558, allocations: 13.72 kB / 361.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.156, allocations: 314.8 kB / 361.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.156, allocations: 11.98 kB / 361.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.1561, allocations: 43.41 kB / 361.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.394e-05/0.1562, allocations: 43.36 kB / 361.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1562, allocations: 0 / 361.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001456/0.1564, allocations: 77.47 kB / 361.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1564, allocations: 8 kB / 361.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1564, allocations: 3.984 kB / 361.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1564, allocations: 0 / 361.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.1565, allocations: 8 kB / 361.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1565, allocations: 7.875 kB / 361.6 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.1566, allocations: 4 kB / 361.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1566, allocations: 0 / 361.6 MB, free: 9.156 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 9.626e-05/0.1567, allocations: 131 kB / 361.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.1568, allocations: 53.53 kB / 361.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.1569, allocations: 15.88 kB / 361.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1569, allocations: 0 / 361.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1569, allocations: 7.938 kB / 361.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1569, allocations: 0 / 361.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.1571, allocations: 169.7 kB / 362 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1571, allocations: 3.984 kB / 362 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.1572, allocations: 8 kB / 362 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1572, allocations: 4.062 kB / 362 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1572, allocations: 0 / 362 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1572, allocations: 7.938 kB / 362 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1572, allocations: 3.938 kB / 362 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.1574, allocations: 173.2 kB / 362.2 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.1575, allocations: 97 kB / 362.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.1575, allocations: 7.984 kB / 362.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.1576, allocations: 0 / 362.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.1576, allocations: 7.938 kB / 362.3 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1576, allocations: 0 / 362.3 MB, free: 8.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.662e-05/0.1577, allocations: 114.1 kB / 362.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.1577, allocations: 0 / 362.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.158, allocations: 11.94 kB / 362.4 MB, free: 8.25 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.0005207/0.1585, allocations: 0.714 MB / 363.1 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.1587, allocations: 32.09 kB / 363.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1587, allocations: 4.062 kB / 363.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.1587, allocations: 8 kB / 363.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.1592, allocations: 31.89 kB / 363.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.1606, allocations: 1.419 MB / 364.6 MB, free: 5.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1608, allocations: 0.6887 MB / 365.3 MB, free: 5.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.446e-05/0.1609, allocations: 7.984 kB / 365.3 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.1609, allocations: 15.44 kB / 365.3 MB, free: 5.168 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1609, allocations: 0 / 365.3 MB, free: 5.168 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.1728, allocations: 1.517 MB / 366.8 MB, free: 3.766 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.173, allocations: 215.7 kB / 367 MB, free: 3.508 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.108, allocations: 0 / 367 MB, free: 3.508 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