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.001852/0.001852, allocations: 112.1 kB / 17.06 MB, free: 6 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.002267/0.002267, allocations: 200 kB / 18 MB, free: 5.078 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.518/2.518, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002019, allocations: 43.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4201, allocations: 49.45 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00477/0.4249, allocations: 1.415 MB / 401.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.4253, allocations: 38.25 kB / 401.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.4254, allocations: 1.25 kB / 401.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.264e-05/0.4255, allocations: 3.938 kB / 401.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.4256, allocations: 0 / 401.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.4259, allocations: 27.47 kB / 401.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.4261, allocations: 23.55 kB / 401.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.4262, allocations: 8.094 kB / 401.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.4263, allocations: 16.11 kB / 401.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.4264, allocations: 15.39 kB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.4264, allocations: 3.875 kB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.587e-05/0.4265, allocations: 5.188 kB / 401.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.4265, allocations: 6.391 kB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.4266, allocations: 14.44 kB / 401.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.4267, allocations: 35.12 kB / 401.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4267, allocations: 0 / 401.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4267, allocations: 0 / 401.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.4268, allocations: 0 / 401.8 MB, free: 7.172 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.0006456/0.4274, allocations: 348.5 kB / 402.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.4275, allocations: 9.75 kB / 402.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.675e-05/0.4275, allocations: 35.8 kB / 402.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.4276, allocations: 12.03 kB / 402.2 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.428, allocations: 182.5 kB / 402.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.428, allocations: 384 / 402.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.4281, allocations: 4.375 kB / 402.4 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/0.4287, allocations: 119.8 kB / 402.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.4287, allocations: 3.938 kB / 402.5 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4287, allocations: 11.92 kB / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.4287, allocations: 0 / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.429, allocations: 23.98 kB / 402.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.4292, allocations: 157.7 kB / 402.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.4295, allocations: 58.53 kB / 402.8 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.4297, allocations: 24.92 kB / 402.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.4298, allocations: 0 / 402.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.4298, allocations: 38.5 kB / 402.9 MB, free: 6.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.4298, allocations: 0 / 402.9 MB, free: 6.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005071/0.4303, allocations: 85.5 kB / 402.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.4304, allocations: 59.41 kB / 403 MB, free: 5.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4306, allocations: 109.8 kB / 403.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.4307, allocations: 25.7 kB / 403.1 MB, free: 5.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.4308, allocations: 84.14 kB / 403.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.4309, allocations: 0 / 403.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.4309, allocations: 25.7 kB / 403.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4311, allocations: 314.8 kB / 403.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.4311, allocations: 4 kB / 403.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.4312, allocations: 35.36 kB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.945e-05/0.4313, allocations: 39.38 kB / 403.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4313, allocations: 0 / 403.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001495/0.4315, allocations: 57.62 kB / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4315, allocations: 11.94 kB / 403.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4315, allocations: 0 / 403.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4315, allocations: 0 / 403.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4317, allocations: 8 kB / 403.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4317, allocations: 8.125 kB / 403.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.4317, allocations: 3.906 kB / 403.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4318, allocations: 4 kB / 403.7 MB, free: 5.074 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.0001395/0.4319, allocations: 117.8 kB / 403.8 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.4322, allocations: 69.55 kB / 403.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.4322, allocations: 7.906 kB / 403.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4322, allocations: 0 / 403.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4323, allocations: 384 / 403.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4323, allocations: 8 kB / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.4324, allocations: 161.7 kB / 404.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4325, allocations: 0 / 404.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.4326, allocations: 8 kB / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.4326, allocations: 3.938 kB / 404.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.4326, allocations: 0 / 404.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4326, allocations: 0 / 404.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4326, allocations: 3.984 kB / 404.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.4329, allocations: 96.94 kB / 404.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.433, allocations: 85.11 kB / 404.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.4331, allocations: 7.938 kB / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.308e-05/0.4331, allocations: 7.984 kB / 404.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-06/0.4331, allocations: 288 / 404.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.4332, allocations: 0 / 404.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.369e-05/0.4332, allocations: 83.28 kB / 404.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4332, allocations: 3.938 kB / 404.4 MB, free: 4.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.4336, allocations: 4 kB / 404.4 MB, free: 4.309 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.0008139/0.4344, allocations: 0.663 MB / 405 MB, free: 3.617 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.4346, allocations: 27.98 kB / 405.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4347, allocations: 0 / 405.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.4347, allocations: 0 / 405.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.4351, allocations: 31.3 kB / 405.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.4366, allocations: 1.178 MB / 406.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.4371, allocations: 0.6883 MB / 406.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.617e-05/0.4371, allocations: 0 / 406.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.4372, allocations: 15.44 kB / 407 MB, free: 1.555 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4372, allocations: 4 kB / 407 MB, free: 1.551 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.4606, allocations: 1.374 MB / 408.3 MB, free: 320 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.61, allocations: 7.312 kB / 408.3 MB, free: 316 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