Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",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.002185/0.002185, allocations: 110.3 kB / 17.06 MB, free: 6.004 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.002224/0.002224, allocations: 198.9 kB / 18 MB, free: 5.082 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.106/2.106, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001198, allocations: 47.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4421, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.004674/0.4469, allocations: 1.425 MB / 401.7 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004448/0.4473, allocations: 97.94 kB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.4475, allocations: 1.031 kB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.047e-05/0.4476, allocations: 3.938 kB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.4476, allocations: 8.891 kB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.4481, allocations: 21.3 kB / 401.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.4482, allocations: 29.64 kB / 401.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.4484, allocations: 16.59 kB / 401.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.4484, allocations: 15.89 kB / 401.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.4485, allocations: 11.78 kB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.4486, allocations: 1.375 kB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.4486, allocations: 2.688 kB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.4486, allocations: 9.094 kB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.4487, allocations: 15.7 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.4488, allocations: 25.8 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4488, allocations: 0 / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4488, allocations: 1.094 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.4488, allocations: 0 / 401.9 MB, free: 7.109 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.0005348/0.4494, allocations: 342.1 kB / 402.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.4494, allocations: 10.06 kB / 402.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.4495, allocations: 39.83 kB / 402.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.4495, allocations: 9 kB / 402.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.4499, allocations: 176.2 kB / 402.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.4499, allocations: 8.375 kB / 402.5 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.4499, allocations: 384 / 402.5 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.4504, allocations: 103.9 kB / 402.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4504, allocations: 3.938 kB / 402.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.4504, allocations: 0 / 402.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.4504, allocations: 0 / 402.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.201e-05/0.4505, allocations: 27.86 kB / 402.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.4507, allocations: 157.7 kB / 402.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.4508, allocations: 58.58 kB / 402.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.4509, allocations: 16.86 kB / 402.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.4509, allocations: 0 / 402.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.451, allocations: 38.59 kB / 402.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.451, allocations: 0 / 402.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000254/0.4512, allocations: 81.45 kB / 403 MB, free: 5.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.4513, allocations: 55.41 kB / 403 MB, free: 5.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.4514, allocations: 105.8 kB / 403.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.4514, allocations: 25.7 kB / 403.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.4515, allocations: 88.14 kB / 403.2 MB, free: 5.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.826e-06/0.4515, allocations: 0 / 403.2 MB, free: 5.598 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.4515, allocations: 13.72 kB / 403.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4517, allocations: 322.8 kB / 403.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.4517, allocations: 4 kB / 403.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.4517, allocations: 27.44 kB / 403.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.4518, allocations: 27.38 kB / 403.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4518, allocations: 7.938 kB / 403.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.314e-05/0.4519, allocations: 61.56 kB / 403.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4519, allocations: 14.59 kB / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4519, allocations: 0 / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4519, allocations: 0 / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.452, allocations: 11.98 kB / 403.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.452, allocations: 0 / 403.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.4521, allocations: 4 kB / 403.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.4521, allocations: 4.125 kB / 403.7 MB, free: 5.066 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001009/0.4522, allocations: 113.8 kB / 403.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.4523, allocations: 65.73 kB / 403.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.4523, allocations: 15.89 kB / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4523, allocations: 0 / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4523, allocations: 0 / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4524, allocations: 256 / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.4525, allocations: 153.7 kB / 404.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4525, allocations: 4 kB / 404.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.4526, allocations: 15.98 kB / 404.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4526, allocations: 7.875 kB / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4526, allocations: 0 / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4526, allocations: 0 / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4526, allocations: 0 / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.4528, allocations: 81.11 kB / 404.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.4528, allocations: 88.95 kB / 404.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.4528, allocations: 7.938 kB / 404.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.795e-05/0.4529, allocations: 0 / 404.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-06/0.4529, allocations: 3.938 kB / 404.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4529, allocations: 4 kB / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.567e-05/0.453, allocations: 87.27 kB / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.453, allocations: 0 / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.4532, allocations: 4 kB / 404.4 MB, free: 4.316 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0004738/0.4537, allocations: 0.6202 MB / 405 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.4538, allocations: 27.92 kB / 405 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4538, allocations: 0 / 405 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.4538, allocations: 0 / 405 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.4541, allocations: 23.92 kB / 405 MB, free: 3.617 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4553, allocations: 1.162 MB / 406.2 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.4556, allocations: 0.6844 MB / 406.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.4556, allocations: 3.984 kB / 406.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.4557, allocations: 15.44 kB / 406.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4557, allocations: 0 / 406.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.4795, allocations: 1.255 MB / 408.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.05, allocations: 4.625 kB / 408.2 MB, free: 0.5 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches