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.001741/0.00174, allocations: 112.1 kB / 17.06 MB, free: 5.969 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.002072/0.002072, allocations: 200 kB / 18.01 MB, free: 5.055 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.511/2.511, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001748, allocations: 43.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4836, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.006298/0.4899, allocations: 1.432 MB / 401.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005266/0.4905, allocations: 98.08 kB / 401.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.4906, allocations: 1 kB / 401.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.992e-05/0.4908, allocations: 3.938 kB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-05/0.4908, allocations: 5.094 kB / 401.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.4912, allocations: 31.41 kB / 401.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.4914, allocations: 25.61 kB / 401.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.4916, allocations: 9.25 kB / 401.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.4916, allocations: 15.17 kB / 401.8 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.978e-05/0.4917, allocations: 11.06 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.4918, allocations: 2.156 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.4918, allocations: 2.438 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.4918, allocations: 9 kB / 401.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.4919, allocations: 15.02 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.492, allocations: 26.92 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.492, allocations: 0 / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4921, allocations: 0 / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.4921, allocations: 1.312 kB / 401.9 MB, free: 7.105 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.0005954/0.4927, allocations: 343.3 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.4928, allocations: 8.031 kB / 402.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.894e-05/0.4928, allocations: 38.73 kB / 402.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.4929, allocations: 0.9375 kB / 402.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.4932, allocations: 184.2 kB / 402.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.4933, allocations: 384 / 402.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.4933, allocations: 384 / 402.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.4938, allocations: 111.8 kB / 402.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4938, allocations: 3.938 kB / 402.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.4938, allocations: 4 kB / 402.6 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.4938, allocations: 0 / 402.6 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.494, allocations: 15.98 kB / 402.6 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.4942, allocations: 165.6 kB / 402.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.4945, allocations: 54.55 kB / 402.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.4946, allocations: 24.88 kB / 402.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.4946, allocations: 4.031 kB / 402.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.4947, allocations: 34.5 kB / 402.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.4947, allocations: 0 / 402.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004234/0.4952, allocations: 77.52 kB / 403 MB, free: 5.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.4953, allocations: 55.41 kB / 403 MB, free: 5.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4954, allocations: 105.8 kB / 403.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.4955, allocations: 29.7 kB / 403.1 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.4956, allocations: 84.12 kB / 403.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.4956, allocations: 0 / 403.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.4957, allocations: 17.72 kB / 403.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002576/0.4959, allocations: 322.8 kB / 403.6 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.496, allocations: 4 kB / 403.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/0.496, allocations: 27.38 kB / 403.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.427e-05/0.4961, allocations: 39.38 kB / 403.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4961, allocations: 0 / 403.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001649/0.4963, allocations: 53.62 kB / 403.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.4964, allocations: 7.938 kB / 403.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4964, allocations: 0 / 403.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.264e-05/0.4964, allocations: 4 kB / 403.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.4965, allocations: 7.984 kB / 403.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.4966, allocations: 11.92 kB / 403.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/0.4966, allocations: 4.125 kB / 403.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.4966, allocations: 4.25 kB / 403.7 MB, free: 5.039 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.0001886/0.4968, allocations: 117.8 kB / 403.8 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.497, allocations: 65.53 kB / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.4971, allocations: 7.891 kB / 403.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4971, allocations: 0 / 403.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.4971, allocations: 0 / 403.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4972, allocations: 0 / 403.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.4974, allocations: 153.7 kB / 404.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4974, allocations: 4 kB / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.988e-05/0.4975, allocations: 11.98 kB / 404.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.4975, allocations: 3.938 kB / 404.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4975, allocations: 3.938 kB / 404.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4975, allocations: 0 / 404.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4975, allocations: 4 kB / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.4978, allocations: 85.05 kB / 404.2 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.4979, allocations: 88.95 kB / 404.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.4979, allocations: 7.938 kB / 404.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.598e-05/0.498, allocations: 4 kB / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.498, allocations: 384 / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.498, allocations: 0 / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.694e-05/0.4981, allocations: 83.27 kB / 404.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4981, allocations: 0 / 404.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.4984, allocations: 8 kB / 404.4 MB, free: 4.293 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.0007144/0.4991, allocations: 0.6318 MB / 405 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.4993, allocations: 19.98 kB / 405 MB, free: 3.613 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.4994, allocations: 0 / 405 MB, free: 3.613 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.4994, allocations: 0 / 405 MB, free: 3.613 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.4997, allocations: 28.2 kB / 405 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.5014, allocations: 1.154 MB / 406.2 MB, free: 2.332 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.5018, allocations: 0.6844 MB / 406.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.561e-05/0.5018, allocations: 7.984 kB / 406.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.5019, allocations: 15.44 kB / 406.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of SimCode: time 2.735e-06/0.5019, allocations: 0 / 406.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.5271, allocations: 1.259 MB / 408.2 MB, free: 488 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.6/9.128, allocations: 4.688 kB / 408.2 MB, free: 484 kB / 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