Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.001699, allocations: 107.8 kB / 17.06 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 189.4 kB / 18 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3077, allocations: 49.43 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003222/0.311, allocations: 1.428 MB / 401.7 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001961/0.3112, allocations: 31.38 kB / 401.7 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.3113, allocations: 0 / 401.7 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.3114, allocations: 3.938 kB / 401.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.091e-05/0.3114, allocations: 9.062 kB / 401.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.3117, allocations: 18.94 kB / 401.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.78e-05/0.3118, allocations: 31.05 kB / 401.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3119, allocations: 8.641 kB / 401.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.312, allocations: 17.02 kB / 401.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.312, allocations: 14.61 kB / 401.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.312, allocations: 3.281 kB / 401.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.3121, allocations: 1.969 kB / 401.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.3121, allocations: 5.969 kB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.3121, allocations: 14.28 kB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.3122, allocations: 34.75 kB / 401.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3123, allocations: 1 kB / 401.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3123, allocations: 0 / 401.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3123, allocations: 0 / 401.8 MB, free: 7.184 MB / 318.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.000543/0.3128, allocations: 349.9 kB / 402.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.3129, allocations: 10.22 kB / 402.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.3129, allocations: 31.84 kB / 402.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.313, allocations: 2.5 kB / 402.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.3132, allocations: 190.1 kB / 402.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3132, allocations: 1.5 kB / 402.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.3133, allocations: 5.5 kB / 402.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.3136, allocations: 119.8 kB / 402.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3137, allocations: 3.938 kB / 402.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.3137, allocations: 7.938 kB / 402.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3137, allocations: 4 kB / 402.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3138, allocations: 27.97 kB / 402.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.314, allocations: 153.7 kB / 402.7 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.3141, allocations: 58.48 kB / 402.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.3142, allocations: 28.92 kB / 402.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.3142, allocations: 3.938 kB / 402.8 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.3143, allocations: 38.55 kB / 402.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.3143, allocations: 4 kB / 402.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002995/0.3146, allocations: 89.48 kB / 403 MB, free: 5.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.3147, allocations: 51.41 kB / 403 MB, free: 5.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.3147, allocations: 105.8 kB / 403.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3148, allocations: 25.7 kB / 403.1 MB, free: 5.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.3148, allocations: 88.14 kB / 403.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.3148, allocations: 0 / 403.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.3149, allocations: 17.72 kB / 403.2 MB, free: 5.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.315, allocations: 318.8 kB / 403.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.3151, allocations: 8 kB / 403.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.124e-05/0.3151, allocations: 27.44 kB / 403.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.463e-05/0.3152, allocations: 39.38 kB / 403.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3152, allocations: 0 / 403.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.709e-05/0.3153, allocations: 61.58 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3153, allocations: 11.94 kB / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.3153, allocations: 0 / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3153, allocations: 0 / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.3154, allocations: 15.92 kB / 403.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3154, allocations: 0 / 403.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.3154, allocations: 4 kB / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.3154, allocations: 4.125 kB / 403.7 MB, free: 5.09 MB / 318.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 0.0001029/0.3155, allocations: 113.8 kB / 403.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.3157, allocations: 73.55 kB / 403.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.3157, allocations: 3.906 kB / 403.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3158, allocations: 0 / 403.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3158, allocations: 7.922 kB / 403.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3158, allocations: 0 / 403.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.3159, allocations: 153.7 kB / 404.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3159, allocations: 0 / 404.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.316, allocations: 16.22 kB / 404.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.316, allocations: 3.938 kB / 404.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.316, allocations: 8.375 kB / 404.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.316, allocations: 0 / 404.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.316, allocations: 4 kB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.3162, allocations: 93.05 kB / 404.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.3163, allocations: 81.09 kB / 404.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3163, allocations: 11.88 kB / 404.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.045e-05/0.3163, allocations: 4 kB / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-06/0.3164, allocations: 0 / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.3164, allocations: 4 kB / 404.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.47e-05/0.3164, allocations: 87.27 kB / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.043e-06/0.3164, allocations: 0 / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001834/0.3166, allocations: 7.938 kB / 404.4 MB, free: 4.32 MB / 318.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.0006298/0.3173, allocations: 0.6514 MB / 405 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.3174, allocations: 35.91 kB / 405.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3174, allocations: 0 / 405.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.3174, allocations: 0 / 405.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3178, allocations: 28 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.319, allocations: 1.185 MB / 406.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.3194, allocations: 0.6844 MB / 407 MB, free: 1.582 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.349e-05/0.3194, allocations: 0 / 407 MB, free: 1.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.3194, allocations: 19.42 kB / 407 MB, free: 1.562 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3194, allocations: 0 / 407 MB, free: 1.562 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.3424, allocations: 1.363 MB / 408.3 MB, free: 348 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.169, allocations: 16.22 kB / 408.4 MB, free: 336 kB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches