Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.001337/0.001337, allocations: 112.6 kB / 17.07 MB, free: 5.988 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.001392/0.001392, allocations: 193.4 kB / 18 MB, free: 5.074 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.556/1.556, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001585, allocations: 47.92 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3121, allocations: 49.43 MB / 400.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002899/0.3151, allocations: 1.444 MB / 401.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001955/0.3153, allocations: 37.56 kB / 401.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.3154, allocations: 1.125 kB / 401.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.3154, allocations: 5 kB / 401.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.53e-05/0.3155, allocations: 3.938 kB / 401.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.3157, allocations: 22.92 kB / 401.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.3158, allocations: 31.34 kB / 401.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.3159, allocations: 9.594 kB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.316, allocations: 15.14 kB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.316, allocations: 12.05 kB / 401.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3161, allocations: 3.031 kB / 401.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.3161, allocations: 1.875 kB / 401.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.3161, allocations: 9.844 kB / 401.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.3162, allocations: 15.05 kB / 401.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3163, allocations: 34.52 kB / 401.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3163, allocations: 0 / 401.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3163, allocations: 1.094 kB / 401.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3163, allocations: 0 / 401.9 MB, free: 7.156 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.0004941/0.3168, allocations: 349.5 kB / 402.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3168, allocations: 12.03 kB / 402.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.3169, allocations: 34.75 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.3169, allocations: 0.9375 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.3171, allocations: 188.1 kB / 402.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3172, allocations: 8.375 kB / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.3172, allocations: 4.375 kB / 402.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.3175, allocations: 123.8 kB / 402.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3176, allocations: 7.938 kB / 402.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3176, allocations: 4 kB / 402.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3176, allocations: 0 / 402.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3177, allocations: 23.97 kB / 402.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.3179, allocations: 157.7 kB / 402.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3181, allocations: 58.48 kB / 402.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.3182, allocations: 28.92 kB / 402.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.3182, allocations: 0 / 402.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.3182, allocations: 30.56 kB / 402.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3182, allocations: 0 / 402.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002958/0.3185, allocations: 93.53 kB / 403 MB, free: 5.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.3186, allocations: 59.34 kB / 403.1 MB, free: 5.805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.3187, allocations: 105.8 kB / 403.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3187, allocations: 25.7 kB / 403.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.3188, allocations: 84.14 kB / 403.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.3188, allocations: 3.984 kB / 403.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.3188, allocations: 17.72 kB / 403.3 MB, free: 5.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.319, allocations: 322.8 kB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.319, allocations: 4 kB / 403.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.392e-05/0.319, allocations: 31.42 kB / 403.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.877e-05/0.3191, allocations: 39.38 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3191, allocations: 0 / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.82e-05/0.3192, allocations: 57.62 kB / 403.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3192, allocations: 7.938 kB / 403.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3192, allocations: 4 kB / 403.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3192, allocations: 0 / 403.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/0.3193, allocations: 15.94 kB / 403.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3193, allocations: 0 / 403.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.3194, allocations: 7.891 kB / 403.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.3194, allocations: 8.125 kB / 403.8 MB, free: 5.02 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: 2 ($CLKPRE.step.counter,step.counter) * 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 9.866e-05/0.3195, allocations: 113.8 kB / 403.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.3196, allocations: 65.61 kB / 403.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.3197, allocations: 11.91 kB / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3197, allocations: 0 / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3197, allocations: 0 / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3197, allocations: 0 / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.3198, allocations: 157.7 kB / 404.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3198, allocations: 384 / 404.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.3199, allocations: 11.94 kB / 404.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3199, allocations: 7.938 kB / 404.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3199, allocations: 4 kB / 404.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3199, allocations: 3.984 kB / 404.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.32, allocations: 4 kB / 404.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.3201, allocations: 89.06 kB / 404.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.3202, allocations: 77.11 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3202, allocations: 3.938 kB / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.893e-05/0.3203, allocations: 11.98 kB / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-06/0.3203, allocations: 0 / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.3203, allocations: 0 / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.019e-05/0.3203, allocations: 87.28 kB / 404.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3203, allocations: 0 / 404.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001884/0.3205, allocations: 4 kB / 404.4 MB, free: 4.27 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: 1 (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.0006829/0.3212, allocations: 0.6591 MB / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.3214, allocations: 31.92 kB / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3214, allocations: 0 / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.3214, allocations: 0 / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.3217, allocations: 36.25 kB / 405.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3229, allocations: 1.182 MB / 406.3 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.3232, allocations: 0.6844 MB / 407 MB, free: 1.523 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.795e-05/0.3232, allocations: 3.984 kB / 407 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.3233, allocations: 7.438 kB / 407 MB, free: 1.512 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3233, allocations: 4 kB / 407 MB, free: 1.508 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.3472, allocations: 1.373 MB / 408.4 MB, free: 256 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.383, allocations: 11.08 kB / 408.4 MB, free: 252 kB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches