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) 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.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_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.00154/0.00154, allocations: 109.1 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001923, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 54.22 kB / 306.5 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1332, allocations: 50.52 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.004387/0.1376, allocations: 1.624 MB / 358.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1389, allocations: 0.5532 MB / 359.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1391, allocations: 3.938 kB / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.144e-05/0.1392, allocations: 4 kB / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.1393, allocations: 11.91 kB / 359.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.1398, allocations: 55.88 kB / 359.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.14, allocations: 51.8 kB / 359.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1401, allocations: 20.16 kB / 359.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1403, allocations: 31.86 kB / 359.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.1404, allocations: 19.86 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.1404, allocations: 4 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.1406, allocations: 8 kB / 359.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.1407, allocations: 15.92 kB / 359.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.1407, allocations: 31.8 kB / 359.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1409, allocations: 63.73 kB / 359.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1409, allocations: 0 / 359.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1409, allocations: 0 / 359.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1409, allocations: 0 / 359.6 MB, free: 11.81 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.0008843/0.1418, allocations: 379.3 kB / 359.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1419, allocations: 12.03 kB / 359.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.1419, allocations: 34.75 kB / 360 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.1421, allocations: 20.83 kB / 360 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1424, allocations: 196.1 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1425, allocations: 4.375 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.1425, allocations: 384 / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.1429, allocations: 105 kB / 360.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.143, allocations: 4 kB / 360.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.143, allocations: 8 kB / 360.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.143, allocations: 0 / 360.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.1431, allocations: 15.98 kB / 360.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.1437, allocations: 269.6 kB / 360.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.985e-05/0.1438, allocations: 49.2 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.1439, allocations: 21.77 kB / 360.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1439, allocations: 0 / 360.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.1441, allocations: 38.5 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1441, allocations: 0 / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002832/0.1444, allocations: 73.7 kB / 360.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.1445, allocations: 77.11 kB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.1448, allocations: 148.2 kB / 361 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1449, allocations: 25.7 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.145, allocations: 92.11 kB / 361.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.145, allocations: 3.906 kB / 361.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.1451, allocations: 13.72 kB / 361.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.1453, allocations: 330.8 kB / 361.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.1453, allocations: 4 kB / 361.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.1454, allocations: 21.7 kB / 361.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1455, allocations: 33.64 kB / 361.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1455, allocations: 0 / 361.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001764/0.1457, allocations: 53.75 kB / 361.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.1458, allocations: 8 kB / 361.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1458, allocations: 0 / 361.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1458, allocations: 0 / 361.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.1459, allocations: 7.938 kB / 361.6 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.1459, allocations: 3.984 kB / 361.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.146, allocations: 4 kB / 361.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.146, allocations: 0 / 361.6 MB, free: 9.523 MB / 302.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 0.0001397/0.1462, allocations: 121.8 kB / 361.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/0.1462, allocations: 41.59 kB / 361.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.1463, allocations: 15.83 kB / 361.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1463, allocations: 0 / 361.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1463, allocations: 0 / 361.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1463, allocations: 0 / 361.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.1466, allocations: 169.6 kB / 361.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1466, allocations: 0 / 361.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.1467, allocations: 7.984 kB / 361.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.1467, allocations: 32 / 361.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1468, allocations: 15.94 kB / 361.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1468, allocations: 3.938 kB / 361.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1468, allocations: 0 / 361.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.147, allocations: 160.2 kB / 362.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.1471, allocations: 89.02 kB / 362.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.1472, allocations: 8.016 kB / 362.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.1472, allocations: 4 kB / 362.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.1473, allocations: 3.984 kB / 362.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.1473, allocations: 4 kB / 362.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.1474, allocations: 113.7 kB / 362.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1474, allocations: 0 / 362.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.1476, allocations: 4 kB / 362.3 MB, free: 8.672 MB / 302.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.001115/0.1487, allocations: 0.7013 MB / 363 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.1489, allocations: 27.92 kB / 363.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1489, allocations: 0 / 363.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.149, allocations: 12.16 kB / 363.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.1494, allocations: 15.52 kB / 363.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1514, allocations: 1.342 MB / 364.4 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008659/0.1522, allocations: 0.6885 MB / 365.1 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.388e-05/0.1523, allocations: 0 / 365.1 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.1524, allocations: 15.44 kB / 365.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1524, allocations: 0 / 365.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.1677, allocations: 1.429 MB / 366.6 MB, free: 4.445 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003593/0.1681, allocations: 216.4 kB / 366.8 MB, free: 4.191 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.215, allocations: 4.062 kB / 366.8 MB, free: 4.188 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches