Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001502/0.001502, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.44 kB / 307.1 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08597/0.08719, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002686/0.08991, allocations: 1.485 MB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003503/0.09029, allocations: 131.6 kB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.09037, allocations: 0 / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.09043, allocations: 7.922 kB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.409e-05/0.09054, allocations: 11.94 kB / 359.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.09075, allocations: 31.91 kB / 359.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.075e-05/0.09083, allocations: 27.92 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.09092, allocations: 15.98 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.65e-05/0.09095, allocations: 7.938 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.745e-05/0.09099, allocations: 11.94 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.09101, allocations: 7.938 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.09102, allocations: 0 / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.09108, allocations: 15.97 kB / 359.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.09111, allocations: 23.81 kB / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.541e-05/0.0912, allocations: 31.89 kB / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.09122, allocations: 4 kB / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09122, allocations: 0 / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.09123, allocations: 4 kB / 359.4 MB, free: 12.17 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.0004737/0.09171, allocations: 359.4 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.09177, allocations: 12.03 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.09182, allocations: 34.75 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.09186, allocations: 8.844 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.09206, allocations: 188.2 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.09209, allocations: 8.312 kB / 360 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.09211, allocations: 4.375 kB / 360 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.09234, allocations: 89.59 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.09236, allocations: 3.938 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.09238, allocations: 0 / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.09239, allocations: 4 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.222e-05/0.09245, allocations: 19.92 kB / 360.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.0928, allocations: 249.8 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.97e-05/0.09289, allocations: 45.14 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.09293, allocations: 21.72 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.09296, allocations: 0 / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.09299, allocations: 34.56 kB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.09299, allocations: 4 kB / 360.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000218/0.09322, allocations: 57.53 kB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.09329, allocations: 81.36 kB / 360.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.09345, allocations: 132.6 kB / 360.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.09348, allocations: 25.7 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.09354, allocations: 88.12 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.09356, allocations: 4 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.0936, allocations: 17.62 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.09373, allocations: 314.8 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.09377, allocations: 7.984 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.09382, allocations: 21.66 kB / 361.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/0.09391, allocations: 25.66 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.09392, allocations: 3.938 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.168e-05/0.09402, allocations: 45.62 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.09404, allocations: 4.125 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.09405, allocations: 4 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.09408, allocations: 4 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.037e-05/0.0941, allocations: 7.984 kB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.09411, allocations: 0 / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.09414, allocations: 0 / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.09416, allocations: 4 kB / 361.3 MB, free: 9.996 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 (sample1.u,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 9.333e-05/0.09426, allocations: 117.7 kB / 361.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.09432, allocations: 41.59 kB / 361.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.09437, allocations: 15.52 kB / 361.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.09437, allocations: 0 / 361.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.09438, allocations: 0 / 361.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.09439, allocations: 4 kB / 361.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.09457, allocations: 173.6 kB / 361.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.09458, allocations: 3.938 kB / 361.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-06/0.09459, allocations: 0 / 361.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.0946, allocations: 3.938 kB / 361.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.09461, allocations: 0 / 361.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.09462, allocations: 4 kB / 361.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.09462, allocations: 0 / 361.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.09481, allocations: 152.2 kB / 361.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.09489, allocations: 97.03 kB / 361.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.09491, allocations: 0 / 361.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.216e-05/0.09496, allocations: 0 / 361.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.095, allocations: 0 / 361.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.09502, allocations: 4 kB / 361.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.953e-05/0.09509, allocations: 111.2 kB / 362 MB, free: 9.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0951, allocations: 0 / 362 MB, free: 9.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.09533, allocations: 4 kB / 362 MB, free: 9.172 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 (sample1.u,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.0003976/0.09573, allocations: 0.6859 MB / 362.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.09585, allocations: 19.92 kB / 362.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.09587, allocations: 4 kB / 362.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.09589, allocations: 3.938 kB / 362.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.09625, allocations: 23.14 kB / 362.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.09733, allocations: 1.245 MB / 364 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.09762, allocations: 0.6846 MB / 364.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.786e-05/0.09765, allocations: 7.984 kB / 364.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.0977, allocations: 11.44 kB / 364.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.09771, allocations: 4.031 kB / 364.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.1151, allocations: 1.344 MB / 366 MB, free: 5.117 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/7.884, allocations: 7.859 kB / 366.1 MB, free: 5.109 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches