Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001482/0.001482, allocations: 102 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001167, allocations: 59.59 kB / 306.4 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.0872, allocations: 50.54 MB / 356.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002505/0.08975, allocations: 1.558 MB / 358.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000332/0.0901, allocations: 139.5 kB / 358.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.0902, allocations: 0 / 358.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.641e-05/0.09025, allocations: 3.938 kB / 358.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.09037, allocations: 8 kB / 358.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.09058, allocations: 31.91 kB / 358.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.295e-05/0.09065, allocations: 23.92 kB / 358.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.997e-05/0.09074, allocations: 11.98 kB / 358.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.593e-05/0.09077, allocations: 15.92 kB / 358.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.09081, allocations: 11.88 kB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.09083, allocations: 11.94 kB / 358.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.09085, allocations: 0 / 358.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.09089, allocations: 11.98 kB / 358.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.09093, allocations: 19.81 kB / 358.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.42e-05/0.091, allocations: 39.81 kB / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.09101, allocations: 4 kB / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.09102, allocations: 0 / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.09103, allocations: 0 / 358.8 MB, free: 12.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00039/0.09142, allocations: 359.5 kB / 359.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.09147, allocations: 12.03 kB / 359.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.09151, allocations: 34.75 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.09154, allocations: 8.844 kB / 359.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.0917, allocations: 184.2 kB / 359.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.09171, allocations: 8.375 kB / 359.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-06/0.09173, allocations: 384 / 359.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.09194, allocations: 89.61 kB / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.09196, allocations: 3.938 kB / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.09197, allocations: 7.984 kB / 359.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.09198, allocations: 0 / 359.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/0.09205, allocations: 12 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.09233, allocations: 261.7 kB / 359.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.09241, allocations: 45.16 kB / 359.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/0.09246, allocations: 21.77 kB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.09248, allocations: 3.938 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.0925, allocations: 38.5 kB / 359.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.09251, allocations: 0 / 359.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001907/0.09271, allocations: 65.61 kB / 359.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.09275, allocations: 81.11 kB / 360 MB, free: 11.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/0.09285, allocations: 132.4 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.09287, allocations: 25.7 kB / 360.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.09292, allocations: 92.05 kB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.281e-06/0.09293, allocations: 0 / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.09296, allocations: 21.95 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.09305, allocations: 314.8 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.09309, allocations: 4 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.09313, allocations: 17.7 kB / 360.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.29e-05/0.0932, allocations: 37.7 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.09321, allocations: 3.938 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.208e-05/0.0933, allocations: 49.69 kB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.09332, allocations: 4 kB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.09333, allocations: 0 / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.09335, allocations: 0 / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/0.09342, allocations: 19.86 kB / 360.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.09343, allocations: 0 / 360.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.09346, allocations: 3.906 kB / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.09347, allocations: 8.062 kB / 360.7 MB, free: 10.32 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: 2 (step.y,sample1.y) * 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 6.982e-05/0.09355, allocations: 121.7 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.0936, allocations: 33.69 kB / 360.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.09363, allocations: 15.83 kB / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.09364, allocations: 0 / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.09365, allocations: 4 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.09366, allocations: 7.984 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.0938, allocations: 165.6 kB / 361 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.09381, allocations: 4.031 kB / 361 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.09385, allocations: 4 kB / 361.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.09385, allocations: 0 / 361.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.09387, allocations: 0 / 361.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.09388, allocations: 7.938 kB / 361.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.09388, allocations: 3.938 kB / 361.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.09403, allocations: 164.2 kB / 361.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.09409, allocations: 92.94 kB / 361.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.0941, allocations: 0 / 361.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.434e-05/0.09416, allocations: 8 kB / 361.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.09419, allocations: 0 / 361.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.0942, allocations: 4 kB / 361.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.449e-05/0.09426, allocations: 99.25 kB / 361.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09426, allocations: 0 / 361.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.09447, allocations: 8 kB / 361.4 MB, free: 9.48 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: 2 (step.y,sample1.y) * 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.0003494/0.09483, allocations: 0.6975 MB / 362.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.964e-05/0.09494, allocations: 19.98 kB / 362.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.09495, allocations: 4.156 kB / 362.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.09498, allocations: 7.938 kB / 362.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.09531, allocations: 23.52 kB / 362.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.09634, allocations: 1.274 MB / 363.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.09657, allocations: 0.6887 MB / 364.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.884e-05/0.0966, allocations: 256 / 364.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.09664, allocations: 19.42 kB / 364.2 MB, free: 6.605 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09664, allocations: 3.938 kB / 364.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9424/1.039, allocations: 1.209 MB / 365.4 MB, free: 5.531 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003826/1.04, allocations: 223.5 kB / 365.6 MB, free: 5.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/3.205, allocations: 3.375 kB / 365.6 MB, free: 5.27 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches