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.001188/0.001188, allocations: 105.6 kB / 17.06 MB, free: 6.012 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.001325/0.001325, allocations: 195 kB / 18 MB, free: 5.094 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.577/1.577, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 43.94 kB / 350.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3281, allocations: 49.45 MB / 400.2 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.005966/0.3342, allocations: 1.873 MB / 402.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.3366, allocations: 1.06 MB / 403.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000315/0.337, allocations: 7.938 kB / 403.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008866/0.3379, allocations: 155.5 kB / 403.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.3384, allocations: 115.6 kB / 403.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.3393, allocations: 197.6 kB / 403.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.3398, allocations: 183.5 kB / 403.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.3399, allocations: 29.53 kB / 403.8 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.3402, allocations: 79.64 kB / 403.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.3403, allocations: 67.69 kB / 404 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.3404, allocations: 12 kB / 404 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.3406, allocations: 63.89 kB / 404.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3407, allocations: 43.84 kB / 404.1 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3408, allocations: 63.55 kB / 404.2 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.3413, allocations: 209.1 kB / 404.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3413, allocations: 0 / 404.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3413, allocations: 0 / 404.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3413, allocations: 0 / 404.4 MB, free: 4.844 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.0009995/0.3423, allocations: 0.504 MB / 404.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3424, allocations: 12.03 kB / 404.9 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.3424, allocations: 38.73 kB / 404.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.3425, allocations: 28.59 kB / 404.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.343, allocations: 262.8 kB / 405.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.343, allocations: 4.375 kB / 405.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.343, allocations: 11.94 kB / 405.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.3434, allocations: 149.4 kB / 405.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3434, allocations: 0 / 405.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3434, allocations: 4 kB / 405.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.3435, allocations: 0 / 405.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.3436, allocations: 31.92 kB / 405.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.3442, allocations: 370.3 kB / 405.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.3444, allocations: 111.9 kB / 405.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.3445, allocations: 42.56 kB / 405.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.3446, allocations: 0 / 405.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.3448, allocations: 75.33 kB / 406 MB, free: 2.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3448, allocations: 4 kB / 406 MB, free: 2.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004195/0.3452, allocations: 133.4 kB / 406.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.3453, allocations: 140.5 kB / 406.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.3456, allocations: 264.9 kB / 406.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3457, allocations: 29.7 kB / 406.5 MB, free: 2.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.3458, allocations: 116 kB / 406.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.3458, allocations: 20.14 kB / 406.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.3459, allocations: 33.56 kB / 406.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.346, allocations: 330.8 kB / 407 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.925e-05/0.3461, allocations: 19.98 kB / 407.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.744e-05/0.3462, allocations: 70 kB / 407.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3464, allocations: 76.25 kB / 407.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3464, allocations: 0 / 407.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000224/0.3466, allocations: 109.4 kB / 407.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3466, allocations: 16.11 kB / 407.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3466, allocations: 0 / 407.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3467, allocations: 4 kB / 407.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.3468, allocations: 8 kB / 407.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.3468, allocations: 8.25 kB / 407.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.3469, allocations: 19.86 kB / 407.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3469, allocations: 8 kB / 407.4 MB, free: 1.492 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.0001336/0.347, allocations: 137.8 kB / 407.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.595e-05/0.3471, allocations: 65.36 kB / 407.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.3472, allocations: 25.7 kB / 407.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3472, allocations: 4 kB / 407.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3472, allocations: 0 / 407.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.3472, allocations: 7.922 kB / 407.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.3474, allocations: 221.7 kB / 407.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3474, allocations: 7.938 kB / 407.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.3475, allocations: 7.984 kB / 407.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3475, allocations: 0 / 407.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3475, allocations: 0 / 407.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3475, allocations: 8.062 kB / 407.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3475, allocations: 0 / 407.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.3478, allocations: 154.5 kB / 408 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3479, allocations: 112.7 kB / 408.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.3479, allocations: 4 kB / 408.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.36e-05/0.348, allocations: 15.92 kB / 408.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.348, allocations: 11.88 kB / 408.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3481, allocations: 4 kB / 408.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001913/0.3483, allocations: 192.5 kB / 408.3 MB, free: 432 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3483, allocations: 0 / 408.3 MB, free: 432 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3485, allocations: 32 kB / 408.4 MB, free: 400 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.001526/0.3501, allocations: 0.9949 MB / 409.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3503, allocations: 67.91 kB / 409.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3504, allocations: 0 / 409.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.3504, allocations: 32.17 kB / 409.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.3509, allocations: 64.02 kB / 409.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.3533, allocations: 1.921 MB / 411.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3537, allocations: 0.7397 MB / 412.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.82e-05/0.3538, allocations: 21.48 kB / 412.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-05/0.3539, allocations: 47.36 kB / 412.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3539, allocations: 0 / 412.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.3784, allocations: 4.658 MB / 416.9 MB, free: 7.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/14.93, allocations: 15.08 kB / 416.9 MB, free: 7.973 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