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.001491/0.001491, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.001901, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.53 kB / 307.1 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1406, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003837/0.1445, allocations: 1.589 MB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1462, allocations: 0.5687 MB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1463, allocations: 0 / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.878e-05/0.1464, allocations: 7.938 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.1466, allocations: 11.86 kB / 359.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.1471, allocations: 63.81 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1473, allocations: 47.86 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1475, allocations: 24.14 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.1476, allocations: 31.8 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.1477, allocations: 15.92 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1478, allocations: 4 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-05/0.1478, allocations: 4 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.1479, allocations: 19.92 kB / 360 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.148, allocations: 35.73 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1482, allocations: 59.73 kB / 360.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1482, allocations: 0 / 360.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1482, allocations: 0 / 360.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1482, allocations: 0 / 360.1 MB, free: 11.53 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.0006175/0.1488, allocations: 387.3 kB / 360.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.1489, allocations: 8.031 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.149, allocations: 34.75 kB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.1492, allocations: 16.83 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.1495, allocations: 204 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1495, allocations: 8.125 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1495, allocations: 4 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.1499, allocations: 113.9 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.15, allocations: 4 kB / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.15, allocations: 0 / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.15, allocations: 0 / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1501, allocations: 27.91 kB / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.1506, allocations: 278.5 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1508, allocations: 75.78 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.1509, allocations: 26.64 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.151, allocations: 7.984 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.151, allocations: 42.5 kB / 361.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.151, allocations: 0 / 361.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003835/0.1514, allocations: 81.52 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.786e-05/0.1515, allocations: 102.8 kB / 361.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.1517, allocations: 154.1 kB / 361.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1518, allocations: 29.7 kB / 361.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.1518, allocations: 95.98 kB / 361.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.1519, allocations: 0 / 361.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.1519, allocations: 21.7 kB / 361.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1521, allocations: 318.8 kB / 362.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/0.1522, allocations: 7.984 kB / 362.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.1523, allocations: 39.42 kB / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1524, allocations: 43.36 kB / 362.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1524, allocations: 7.938 kB / 362.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002147/0.1527, allocations: 69.53 kB / 362.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1527, allocations: 11.28 kB / 362.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1527, allocations: 0 / 362.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1527, allocations: 96 / 362.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1529, allocations: 15.97 kB / 362.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.1529, allocations: 15.86 kB / 362.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.153, allocations: 0 / 362.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.153, allocations: 4 kB / 362.3 MB, free: 9.012 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.0001334/0.1531, allocations: 130.9 kB / 362.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.1533, allocations: 49.61 kB / 362.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/0.1534, allocations: 15.86 kB / 362.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1534, allocations: 7.938 kB / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.1534, allocations: 3.938 kB / 362.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1534, allocations: 0 / 362.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.1537, allocations: 169.7 kB / 362.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1537, allocations: 0 / 362.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.777e-05/0.1538, allocations: 11.98 kB / 362.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1538, allocations: 4.062 kB / 362.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1539, allocations: 4 kB / 362.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1539, allocations: 0 / 362.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1539, allocations: 3.938 kB / 362.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.1542, allocations: 177.1 kB / 362.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1543, allocations: 101 kB / 362.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1543, allocations: 0 / 362.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.1545, allocations: 7.984 kB / 362.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1545, allocations: 3.938 kB / 362.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1545, allocations: 0 / 362.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1547, allocations: 114.2 kB / 363.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1547, allocations: 0 / 363.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004082/0.1551, allocations: 8 kB / 363.1 MB, free: 8.109 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.000731/0.1559, allocations: 0.714 MB / 363.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.1561, allocations: 31.97 kB / 363.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1561, allocations: 8.188 kB / 363.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.932e-05/0.1562, allocations: 4 kB / 363.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006362/0.1568, allocations: 31.95 kB / 363.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.159, allocations: 1.395 MB / 365.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.1595, allocations: 0.6885 MB / 365.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.682e-05/0.1595, allocations: 4 kB / 365.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.1596, allocations: 23.42 kB / 366 MB, free: 5.043 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1596, allocations: 0 / 366 MB, free: 5.043 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.1792, allocations: 1.666 MB / 367.6 MB, free: 3.469 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.354, allocations: 11.67 kB / 367.6 MB, free: 3.461 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