Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",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.002301/0.002301, allocations: 111.2 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.002172/0.002172, 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.075/2.075, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 51.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4035, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.004539/0.4081, allocations: 1.882 MB / 402.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.4103, allocations: 1.044 MB / 403.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.4106, allocations: 7.938 kB / 403.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.4117, allocations: 147.5 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005504/0.4122, allocations: 115.5 kB / 403.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000893/0.4131, allocations: 202.9 kB / 403.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.4136, allocations: 183.5 kB / 403.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.4138, allocations: 29.53 kB / 403.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.414, allocations: 83.62 kB / 403.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.4142, allocations: 67.64 kB / 404 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.4143, allocations: 8 kB / 404 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.4145, allocations: 59.95 kB / 404 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.4147, allocations: 39.84 kB / 404.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.4148, allocations: 71.53 kB / 404.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.4152, allocations: 209 kB / 404.4 MB, free: 4.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4152, allocations: 0 / 404.4 MB, free: 4.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4152, allocations: 0 / 404.4 MB, free: 4.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.4152, allocations: 0 / 404.4 MB, free: 4.691 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009877/0.4162, allocations: 0.5002 MB / 404.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.4163, allocations: 8.031 kB / 404.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/0.4164, allocations: 42.73 kB / 404.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.887e-05/0.4165, allocations: 20.66 kB / 404.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.417, allocations: 270.8 kB / 405.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.417, allocations: 4.375 kB / 405.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.4171, allocations: 15.88 kB / 405.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.4174, allocations: 145.2 kB / 405.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4175, allocations: 0 / 405.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4175, allocations: 0 / 405.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.4175, allocations: 4 kB / 405.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.4176, allocations: 39.92 kB / 405.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.4181, allocations: 358.3 kB / 405.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.4184, allocations: 115.8 kB / 405.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.4185, allocations: 46.56 kB / 405.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.4185, allocations: 4 kB / 405.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.4187, allocations: 71.39 kB / 406 MB, free: 2.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.4187, allocations: 0 / 406 MB, free: 2.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004074/0.4191, allocations: 141.3 kB / 406.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.4192, allocations: 136.5 kB / 406.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.4196, allocations: 260.9 kB / 406.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.4196, allocations: 29.7 kB / 406.5 MB, free: 2.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.4197, allocations: 124.3 kB / 406.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.4197, allocations: 11.97 kB / 406.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.4198, allocations: 29.62 kB / 406.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4199, allocations: 330.8 kB / 407 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.726e-05/0.42, allocations: 20 kB / 407 MB, free: 1.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.4201, allocations: 73.91 kB / 407.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4202, allocations: 84.19 kB / 407.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4203, allocations: 4 kB / 407.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002284/0.4205, allocations: 109.5 kB / 407.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4205, allocations: 4 kB / 407.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4205, allocations: 4 kB / 407.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4206, allocations: 3.984 kB / 407.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.4206, allocations: 15.94 kB / 407.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4207, allocations: 0 / 407.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.4207, allocations: 11.88 kB / 407.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4208, allocations: 11.98 kB / 407.4 MB, free: 1.344 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001341/0.4209, allocations: 134.2 kB / 407.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-05/0.421, allocations: 73.34 kB / 407.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.4211, allocations: 21.7 kB / 407.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4211, allocations: 0 / 407.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4211, allocations: 8 kB / 407.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4211, allocations: 3.938 kB / 407.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.4213, allocations: 217.6 kB / 407.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4214, allocations: 0 / 407.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.4214, allocations: 7.984 kB / 407.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.4214, allocations: 4 kB / 407.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.4214, allocations: 12 kB / 407.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4214, allocations: 3.938 kB / 407.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.4214, allocations: 7.984 kB / 407.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.4217, allocations: 150.5 kB / 408 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.4218, allocations: 116.7 kB / 408.1 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.4219, allocations: 4 kB / 408.1 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.422, allocations: 8 kB / 408.1 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.422, allocations: 11.92 kB / 408.1 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.422, allocations: 4 kB / 408.1 MB, free: 472 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.4223, allocations: 196.5 kB / 408.3 MB, free: 276 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4223, allocations: 0 / 408.3 MB, free: 276 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.00029/0.4226, allocations: 28 kB / 408.3 MB, free: 248 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00149/0.4241, allocations: 1 MB / 409.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.4243, allocations: 71.84 kB / 409.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4243, allocations: 256 / 409.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/0.4244, allocations: 27.98 kB / 409.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.4249, allocations: 54.06 kB / 409.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.4274, allocations: 1.917 MB / 411.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.4278, allocations: 0.7319 MB / 412.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.503e-05/0.4279, allocations: 25.47 kB / 412.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-05/0.428, allocations: 47.42 kB / 412.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.428, allocations: 0 / 412.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.4552, allocations: 4.613 MB / 416.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.7, allocations: 12.19 kB / 416.8 MB, free: 7.871 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches