Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",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.001777/0.001777, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001966/0.001966, allocations: 196 kB / 18 MB, free: 5.105 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.13/2.13, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 55.91 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4385, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.006438/0.445, allocations: 1.874 MB / 402.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.4478, allocations: 1.068 MB / 403.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.448, allocations: 7.938 kB / 403.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009031/0.449, allocations: 143.6 kB / 403.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.4495, allocations: 122.9 kB / 403.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000883/0.4504, allocations: 195.3 kB / 403.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.4508, allocations: 183.6 kB / 403.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.4509, allocations: 29.47 kB / 403.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.4511, allocations: 79.64 kB / 403.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.4513, allocations: 75.69 kB / 404 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.4513, allocations: 8 kB / 404 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.4515, allocations: 55.91 kB / 404.1 MB, free: 5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.531e-05/0.4516, allocations: 43.84 kB / 404.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.607e-05/0.4517, allocations: 63.55 kB / 404.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.4522, allocations: 213 kB / 404.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4523, allocations: 0 / 404.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4523, allocations: 0 / 404.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.4523, allocations: 3.938 kB / 404.4 MB, free: 4.684 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.001091/0.4534, allocations: 0.5079 MB / 404.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4535, allocations: 12.03 kB / 404.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.4535, allocations: 30.75 kB / 404.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.4536, allocations: 24.66 kB / 404.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.454, allocations: 266.9 kB / 405.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.454, allocations: 8.312 kB / 405.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.4541, allocations: 7.938 kB / 405.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.4544, allocations: 153 kB / 405.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4545, allocations: 0 / 405.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.4545, allocations: 8 kB / 405.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4545, allocations: 0 / 405.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.4546, allocations: 31.92 kB / 405.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.4552, allocations: 366.3 kB / 405.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.4555, allocations: 111.9 kB / 405.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.4556, allocations: 42.56 kB / 405.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.4556, allocations: 0 / 405.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.4558, allocations: 79.31 kB / 406 MB, free: 2.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.4559, allocations: 4 kB / 406 MB, free: 2.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004127/0.4563, allocations: 137.4 kB / 406.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.389e-05/0.4564, allocations: 140.5 kB / 406.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.4567, allocations: 264.9 kB / 406.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4567, allocations: 25.7 kB / 406.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.4568, allocations: 120 kB / 406.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.4569, allocations: 20.09 kB / 406.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.4569, allocations: 33.61 kB / 406.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4571, allocations: 322.8 kB / 407 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.4571, allocations: 23.98 kB / 407.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.332e-05/0.4572, allocations: 66 kB / 407.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.4574, allocations: 80.25 kB / 407.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4574, allocations: 0 / 407.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002137/0.4576, allocations: 113.4 kB / 407.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4576, allocations: 12.12 kB / 407.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4576, allocations: 0 / 407.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.4577, allocations: 4 kB / 407.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.4578, allocations: 11.98 kB / 407.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.4578, allocations: 4 kB / 407.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.4579, allocations: 15.81 kB / 407.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.4579, allocations: 8 kB / 407.4 MB, free: 1.332 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,shiftSample1.y,shiftSample1.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.000138/0.458, allocations: 137.8 kB / 407.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.4581, allocations: 69.34 kB / 407.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.116e-05/0.4582, allocations: 17.72 kB / 407.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4582, allocations: 7.938 kB / 407.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4582, allocations: 0 / 407.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.4582, allocations: 7.922 kB / 407.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.4585, allocations: 217.9 kB / 407.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4585, allocations: 4 kB / 407.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.4585, allocations: 8 kB / 407.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.4585, allocations: 0 / 407.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4585, allocations: 8 kB / 407.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4585, allocations: 4.062 kB / 407.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4586, allocations: 0 / 407.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.4588, allocations: 158.5 kB / 408 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.4589, allocations: 112.7 kB / 408.1 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.4589, allocations: 3.984 kB / 408.1 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.459, allocations: 12 kB / 408.1 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.4591, allocations: 7.938 kB / 408.1 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.4591, allocations: 7.984 kB / 408.1 MB, free: 464 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.4593, allocations: 188.5 kB / 408.3 MB, free: 276 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.263e-06/0.4593, allocations: 0 / 408.3 MB, free: 276 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.4595, allocations: 35.92 kB / 408.4 MB, free: 240 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,shiftSample1.y,sample1.y,shiftSample1.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.001379/0.4609, allocations: 0.9983 MB / 409.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.4612, allocations: 67.92 kB / 409.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4612, allocations: 0 / 409.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.442e-05/0.4613, allocations: 28.17 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.0004213/0.4617, allocations: 68.94 kB / 409.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.4643, allocations: 1.929 MB / 411.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.4647, allocations: 0.728 MB / 412.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.4648, allocations: 17.55 kB / 412.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.465, allocations: 51.36 kB / 412.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of SimCode: time 8.22e-07/0.465, allocations: 0 / 412.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.4999, allocations: 4.651 MB / 416.9 MB, free: 7.832 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.39, allocations: 11.58 kB / 416.9 MB, free: 7.824 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches