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.001635/0.001635, allocations: 103.1 kB / 17.06 MB, free: 6.016 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.001887/0.001887, allocations: 195 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.354/2.354, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 51.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.482, allocations: 49.44 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.004147/0.4862, allocations: 1.454 MB / 401.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.4865, allocations: 34 kB / 401.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.761e-05/0.4866, allocations: 5.25 kB / 401.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.4867, allocations: 3.938 kB / 401.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.4867, allocations: 3.938 kB / 401.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.4871, allocations: 19.73 kB / 401.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.4872, allocations: 30.72 kB / 401.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.4873, allocations: 9.625 kB / 401.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.4874, allocations: 16.48 kB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.989e-05/0.4875, allocations: 11.44 kB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.4875, allocations: 2.219 kB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.4875, allocations: 6.25 kB / 401.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.4876, allocations: 5.141 kB / 401.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.4876, allocations: 19.25 kB / 401.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.4878, allocations: 30.7 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4878, allocations: 0 / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4878, allocations: 0.9688 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.4878, allocations: 0 / 401.9 MB, free: 7.164 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.000614/0.4884, allocations: 346 kB / 402.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.4885, allocations: 8.031 kB / 402.2 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.4886, allocations: 38.73 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.4886, allocations: 4.938 kB / 402.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.489, allocations: 188.2 kB / 402.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.489, allocations: 4.312 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.489, allocations: 4.375 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.4895, allocations: 119.8 kB / 402.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4896, allocations: 3.938 kB / 402.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4896, allocations: 4 kB / 402.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4896, allocations: 4 kB / 402.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.4898, allocations: 19.98 kB / 402.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.49, allocations: 157.7 kB / 402.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.4903, allocations: 62.47 kB / 402.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.4904, allocations: 24.92 kB / 402.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.4904, allocations: 7.938 kB / 402.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.4905, allocations: 38.56 kB / 402.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.4905, allocations: 0 / 402.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004062/0.4909, allocations: 85.5 kB / 403 MB, free: 5.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.491, allocations: 51.41 kB / 403 MB, free: 5.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.4911, allocations: 113.8 kB / 403.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.4911, allocations: 25.7 kB / 403.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.4912, allocations: 84.14 kB / 403.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.4912, allocations: 4 kB / 403.3 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.4913, allocations: 25.7 kB / 403.3 MB, free: 5.559 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4915, allocations: 310.8 kB / 403.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.4915, allocations: 4 kB / 403.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-05/0.4915, allocations: 31.42 kB / 403.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.15e-05/0.4916, allocations: 39.38 kB / 403.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4916, allocations: 0 / 403.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001421/0.4918, allocations: 61.62 kB / 403.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.4918, allocations: 7.938 kB / 403.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4918, allocations: 0 / 403.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4919, allocations: 4 kB / 403.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.492, allocations: 12.12 kB / 403.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.492, allocations: 3.938 kB / 403.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.492, allocations: 3.906 kB / 403.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.492, allocations: 7.984 kB / 403.8 MB, free: 5.043 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 0.0001202/0.4922, allocations: 113.8 kB / 403.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.4924, allocations: 65.59 kB / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.4924, allocations: 7.906 kB / 403.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4924, allocations: 4 kB / 403.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4925, allocations: 0 / 403.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4925, allocations: 4 kB / 403.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.4926, allocations: 157.7 kB / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4926, allocations: 3.938 kB / 404.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/0.4927, allocations: 15.88 kB / 404.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4928, allocations: 3.938 kB / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.4928, allocations: 0 / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4928, allocations: 0 / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4928, allocations: 0 / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.4931, allocations: 97 kB / 404.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.4932, allocations: 81.11 kB / 404.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.4932, allocations: 3.938 kB / 404.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.4933, allocations: 12.36 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-06/0.4933, allocations: 288 / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4933, allocations: 4 kB / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.73e-05/0.4933, allocations: 79.28 kB / 404.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4934, allocations: 0 / 404.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.4937, allocations: 8 kB / 404.4 MB, free: 4.285 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.0007632/0.4945, allocations: 0.6592 MB / 405.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.4947, allocations: 27.92 kB / 405.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4947, allocations: 0 / 405.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.4947, allocations: 4 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.4952, allocations: 28.33 kB / 405.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.4968, allocations: 1.173 MB / 406.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.4973, allocations: 0.6922 MB / 407 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.265e-05/0.4973, allocations: 0 / 407 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.4974, allocations: 23.38 kB / 407 MB, free: 1.523 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4974, allocations: 0 / 407 MB, free: 1.523 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.528, allocations: 1.381 MB / 408.4 MB, free: 268 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.28, allocations: 7.203 kB / 408.4 MB, free: 264 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