Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3167, allocations: 50.54 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002352/0.3191, allocations: 1.426 MB / 410.2 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001748/0.3193, allocations: 27.91 kB / 410.2 MB, free: 96 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.3193, allocations: 4 kB / 410.2 MB, free: 92 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.3194, allocations: 3.938 kB / 410.2 MB, free: 88 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.342e-05/0.3194, allocations: 3.938 kB / 410.2 MB, free: 84 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3196, allocations: 27.47 kB / 410.2 MB, free: 60 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.481e-05/0.3197, allocations: 27.92 kB / 410.3 MB, free: 32 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3199, allocations: 11.98 kB / 410.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.338e-05/0.3199, allocations: 7.938 kB / 410.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.32, allocations: 15.98 kB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.32, allocations: 4 kB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-06/0.32, allocations: 4 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.32, allocations: 3.938 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.3201, allocations: 19.91 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.085e-05/0.3202, allocations: 31.78 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3202, allocations: 0 / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3202, allocations: 4 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3202, allocations: 0 / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004212/0.3206, allocations: 345.2 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3207, allocations: 8.031 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.3207, allocations: 34.75 kB / 410.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.324e-05/0.3208, allocations: 4.938 kB / 410.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.321, allocations: 176.2 kB / 410.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.321, allocations: 8.312 kB / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.321, allocations: 8.375 kB / 410.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.3213, allocations: 115.8 kB / 411 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3214, allocations: 3.938 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.3214, allocations: 0 / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3214, allocations: 0 / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.786e-05/0.3215, allocations: 23.97 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.3216, allocations: 157.7 kB / 411.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3218, allocations: 62.5 kB / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.89e-05/0.3218, allocations: 28.89 kB / 411.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.3219, allocations: 0 / 411.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3219, allocations: 30.56 kB / 411.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3219, allocations: 0 / 411.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002397/0.3221, allocations: 73.61 kB / 411.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3222, allocations: 59.39 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.3223, allocations: 109.7 kB / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.3223, allocations: 25.7 kB / 411.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.3223, allocations: 84.14 kB / 411.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.3223, allocations: 11.92 kB / 411.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.3224, allocations: 17.72 kB / 411.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.3225, allocations: 310.8 kB / 412 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.3225, allocations: 8 kB / 412 MB, free: 14.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.652e-05/0.3225, allocations: 31.42 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.3226, allocations: 35.38 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3226, allocations: 0 / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.786e-05/0.3226, allocations: 65.62 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3227, allocations: 7.938 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3227, allocations: 0 / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3227, allocations: 4 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/0.3227, allocations: 4 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3228, allocations: 3.938 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.3228, allocations: 4 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-06/0.3228, allocations: 3.938 kB / 412.2 MB, free: 13.84 MB / 334.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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.277e-05/0.3229, allocations: 125.9 kB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.323, allocations: 65.53 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.323, allocations: 7.484 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.323, allocations: 0 / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.323, allocations: 0 / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3231, allocations: 0 / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.049e-05/0.3231, allocations: 153.7 kB / 412.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3231, allocations: 0 / 412.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.3232, allocations: 11.92 kB / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3232, allocations: 3.938 kB / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3232, allocations: 8.375 kB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3232, allocations: 0 / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.3232, allocations: 0 / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.3234, allocations: 85.11 kB / 412.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.3234, allocations: 85.3 kB / 412.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3234, allocations: 7.938 kB / 412.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.188e-05/0.3235, allocations: 11.92 kB / 412.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-06/0.3235, allocations: 0 / 412.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3235, allocations: 7.984 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.3235, allocations: 79.28 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3235, allocations: 0 / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001849/0.3237, allocations: 8 kB / 412.8 MB, free: 13.08 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0004957/0.3242, allocations: 0.6358 MB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.3244, allocations: 39.97 kB / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3244, allocations: 0 / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3244, allocations: 0 / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.3246, allocations: 21.12 kB / 413.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008527/0.3255, allocations: 1.166 MB / 414.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.3257, allocations: 0.6807 MB / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.498e-05/0.3257, allocations: 0 / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.3258, allocations: 15.42 kB / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3258, allocations: 0 / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.3432, allocations: 1.315 MB / 416.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.379/7.722, allocations: 7.797 kB / 416.7 MB, free: 9.176 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches