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.001102/0.001102, allocations: 111.8 kB / 17.06 MB, free: 6.09 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.001842/0.001842, allocations: 199 kB / 18 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 47.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3443, allocations: 49.44 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.00385/0.3482, allocations: 1.871 MB / 402.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.3502, allocations: 1.044 MB / 403.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.3504, allocations: 4 kB / 403.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006767/0.3511, allocations: 159.2 kB / 403.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.3515, allocations: 111.5 kB / 403.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00084/0.3524, allocations: 195.4 kB / 403.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.3527, allocations: 191.5 kB / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.3529, allocations: 29.5 kB / 403.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.353, allocations: 75.69 kB / 403.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.3532, allocations: 67.69 kB / 404 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.3532, allocations: 8 kB / 404 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.3534, allocations: 59.91 kB / 404 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.714e-05/0.3535, allocations: 43.83 kB / 404.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.3536, allocations: 79.48 kB / 404.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.354, allocations: 205 kB / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.354, allocations: 0 / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.354, allocations: 0 / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.3541, allocations: 0 / 404.4 MB, free: 4.668 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.001068/0.3551, allocations: 0.504 MB / 404.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.3552, allocations: 8.031 kB / 404.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.3553, allocations: 42.73 kB / 404.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.3553, allocations: 20.66 kB / 404.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.3557, allocations: 266.9 kB / 405.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3557, allocations: 384 / 405.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3558, allocations: 15.88 kB / 405.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.3561, allocations: 144.6 kB / 405.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3561, allocations: 0 / 405.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3562, allocations: 4 kB / 405.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3562, allocations: 4 kB / 405.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3563, allocations: 31.97 kB / 405.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.3569, allocations: 362.3 kB / 405.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.3571, allocations: 107.9 kB / 405.8 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.3572, allocations: 46.55 kB / 405.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.3572, allocations: 12.06 kB / 405.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.3574, allocations: 75.33 kB / 406 MB, free: 2.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3574, allocations: 0 / 406 MB, free: 2.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003706/0.3578, allocations: 133.4 kB / 406.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.3579, allocations: 140.8 kB / 406.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.3582, allocations: 264.9 kB / 406.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3583, allocations: 33.7 kB / 406.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.3584, allocations: 116 kB / 406.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.3584, allocations: 11.89 kB / 406.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.3585, allocations: 41.55 kB / 406.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3586, allocations: 326.8 kB / 407 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.3587, allocations: 23.98 kB / 407 MB, free: 1.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.762e-05/0.3588, allocations: 66.25 kB / 407.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.3589, allocations: 80.25 kB / 407.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3589, allocations: 4 kB / 407.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002161/0.3592, allocations: 113.4 kB / 407.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3592, allocations: 4 kB / 407.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3592, allocations: 4 kB / 407.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3592, allocations: 0 / 407.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.3593, allocations: 12 kB / 407.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3593, allocations: 128 / 407.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.3594, allocations: 23.86 kB / 407.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3594, allocations: 7.938 kB / 407.3 MB, free: 1.32 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.3596, allocations: 141.8 kB / 407.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.3596, allocations: 65.36 kB / 407.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.3597, allocations: 21.7 kB / 407.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3597, allocations: 0 / 407.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3597, allocations: 4 kB / 407.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3597, allocations: 8 kB / 407.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.3599, allocations: 221.6 kB / 407.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.36, allocations: 3.984 kB / 407.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.36, allocations: 4 kB / 407.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.36, allocations: 4 kB / 407.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.36, allocations: 0 / 407.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.36, allocations: 0 / 407.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.377e-05/0.3601, allocations: 4 kB / 407.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3604, allocations: 162.6 kB / 408 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3605, allocations: 108.8 kB / 408.1 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.3605, allocations: 4 kB / 408.1 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.156e-05/0.3606, allocations: 15.92 kB / 408.1 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3606, allocations: 3.938 kB / 408.1 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3606, allocations: 4 kB / 408.1 MB, free: 460 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.3609, allocations: 196.5 kB / 408.3 MB, free: 264 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3609, allocations: 4 kB / 408.3 MB, free: 260 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3611, allocations: 28 kB / 408.3 MB, free: 232 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.001429/0.3626, allocations: 1.016 MB / 409.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3628, allocations: 63.91 kB / 409.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3628, allocations: 0 / 409.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.592e-05/0.3629, allocations: 27.98 kB / 409.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3633, allocations: 72 kB / 409.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.3656, allocations: 1.925 MB / 411.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3659, allocations: 0.7319 MB / 412.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.735e-05/0.366, allocations: 21.53 kB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.3661, allocations: 47.42 kB / 412.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3661, allocations: 0 / 412.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.3898, allocations: 4.597 MB / 416.8 MB, free: 7.859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.57, allocations: 6.938 kB / 416.8 MB, free: 7.855 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