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.001403/0.001403, allocations: 111.1 kB / 17.06 MB, free: 5.977 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.00169/0.00169, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.546/1.546, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 39.94 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3621, allocations: 49.45 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.004142/0.3663, allocations: 1.452 MB / 401.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002667/0.3666, allocations: 30.69 kB / 401.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.209e-05/0.3667, allocations: 5.031 kB / 401.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.3668, allocations: 0 / 401.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.3669, allocations: 3.938 kB / 401.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.3672, allocations: 23.66 kB / 401.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.3673, allocations: 27.08 kB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3674, allocations: 12.47 kB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.3675, allocations: 12.48 kB / 401.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.3675, allocations: 15.27 kB / 401.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.3676, allocations: 3.438 kB / 401.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.3676, allocations: 2.25 kB / 401.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.3676, allocations: 12.98 kB / 401.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.3677, allocations: 11.41 kB / 401.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.3678, allocations: 34.64 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3678, allocations: 0 / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3678, allocations: 1.125 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3678, allocations: 0 / 401.9 MB, free: 7.145 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.0006506/0.3685, allocations: 349.5 kB / 402.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.3686, allocations: 8.031 kB / 402.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.3686, allocations: 38.75 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.3686, allocations: 0.9375 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.3691, allocations: 188.1 kB / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3691, allocations: 384 / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.3691, allocations: 8.375 kB / 402.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.3695, allocations: 119.8 kB / 402.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3695, allocations: 3.938 kB / 402.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3695, allocations: 0 / 402.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3695, allocations: 4 kB / 402.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.3697, allocations: 19.92 kB / 402.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.3698, allocations: 161.7 kB / 402.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.37, allocations: 58.55 kB / 402.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.3701, allocations: 32.91 kB / 402.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.3701, allocations: 0 / 402.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3702, allocations: 34.5 kB / 402.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.3702, allocations: 0 / 402.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002991/0.3705, allocations: 89.44 kB / 403 MB, free: 5.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.3705, allocations: 51.41 kB / 403 MB, free: 5.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.255e-05/0.3706, allocations: 109.8 kB / 403.1 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3707, allocations: 25.7 kB / 403.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.3707, allocations: 88.14 kB / 403.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3707, allocations: 3.984 kB / 403.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.3708, allocations: 17.72 kB / 403.3 MB, free: 5.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.371, allocations: 310.8 kB / 403.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.371, allocations: 8 kB / 403.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.371, allocations: 35.42 kB / 403.6 MB, free: 5.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.006e-05/0.3711, allocations: 35.38 kB / 403.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3711, allocations: 0 / 403.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.716e-05/0.3712, allocations: 61.69 kB / 403.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3712, allocations: 11.94 kB / 403.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3712, allocations: 4 kB / 403.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3712, allocations: 0 / 403.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.3713, allocations: 12.31 kB / 403.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3713, allocations: 3.984 kB / 403.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.3713, allocations: 3.906 kB / 403.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3714, allocations: 12 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 8.637e-05/0.3715, allocations: 113.8 kB / 403.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.3716, allocations: 69.55 kB / 403.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.3716, allocations: 7.906 kB / 403.9 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3717, allocations: 4 kB / 403.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3717, allocations: 0 / 403.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3717, allocations: 0 / 403.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.3718, allocations: 157.7 kB / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3718, allocations: 0 / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.3719, allocations: 8 kB / 404.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3719, allocations: 3.938 kB / 404.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3719, allocations: 4 kB / 404.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3719, allocations: 0 / 404.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3719, allocations: 7.984 kB / 404.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.3721, allocations: 92.95 kB / 404.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.3721, allocations: 81.11 kB / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.3722, allocations: 3.938 kB / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.3e-05/0.3722, allocations: 7.984 kB / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-06/0.3722, allocations: 0 / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3722, allocations: 0 / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.769e-05/0.3723, allocations: 83.28 kB / 404.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3723, allocations: 7.938 kB / 404.4 MB, free: 4.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001829/0.3725, allocations: 4 kB / 404.4 MB, free: 4.266 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.0006248/0.3731, allocations: 0.6556 MB / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.3733, allocations: 28.17 kB / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3733, allocations: 8.062 kB / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.3733, allocations: 0 / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.3736, allocations: 31.05 kB / 405.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.3747, allocations: 1.177 MB / 406.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.375, allocations: 0.6883 MB / 407 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.375, allocations: 0 / 407 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.3751, allocations: 15.44 kB / 407 MB, free: 1.512 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3751, allocations: 0 / 407 MB, free: 1.512 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.3957, allocations: 1.382 MB / 408.4 MB, free: 248 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.32, allocations: 3.719 kB / 408.4 MB, free: 248 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