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.001496/0.001496, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001795/0.001795, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.531/1.531, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 46.97 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1448, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.004949/0.1498, allocations: 1.88 MB / 352 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1521, allocations: 1.048 MB / 353.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003152/0.1525, allocations: 7.938 kB / 353.1 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.1536, allocations: 152.9 kB / 353.2 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000555/0.1542, allocations: 115.6 kB / 353.4 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.1551, allocations: 202.7 kB / 353.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.1555, allocations: 179.5 kB / 353.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.1558, allocations: 33.55 kB / 353.8 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.156, allocations: 79.64 kB / 353.8 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.1563, allocations: 71.62 kB / 353.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.634e-05/0.1563, allocations: 12 kB / 353.9 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002784/0.1566, allocations: 55.91 kB / 354 MB, free: 488 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1567, allocations: 39.84 kB / 354 MB, free: 448 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1569, allocations: 75.53 kB / 354.1 MB, free: 372 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000572/0.1575, allocations: 191.7 kB / 354.3 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.1575, allocations: 0 / 354.3 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.1575, allocations: 0 / 354.3 MB, free: 180 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.1575, allocations: 0 / 354.3 MB, free: 180 kB / 286.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.001488/0.159, allocations: 0.5195 MB / 354.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.064e-05/0.1591, allocations: 8.031 kB / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.911e-05/0.1592, allocations: 38.73 kB / 354.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.811e-05/0.1593, allocations: 24.73 kB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.1598, allocations: 262.8 kB / 355.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1599, allocations: 384 / 355.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.1599, allocations: 11.94 kB / 355.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.1604, allocations: 146.7 kB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1604, allocations: 0 / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.1605, allocations: 4 kB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.1605, allocations: 7.984 kB / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.1606, allocations: 27.98 kB / 355.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/0.1614, allocations: 358.3 kB / 355.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1617, allocations: 111.9 kB / 355.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.1618, allocations: 42.56 kB / 355.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.1619, allocations: 4 kB / 355.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.1621, allocations: 75.33 kB / 355.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.1621, allocations: 0 / 355.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004378/0.1625, allocations: 137.4 kB / 356 MB, free: 14.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.1626, allocations: 140.5 kB / 356.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.1629, allocations: 264.8 kB / 356.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.163, allocations: 29.7 kB / 356.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.1631, allocations: 120.1 kB / 356.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.1631, allocations: 19.81 kB / 356.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.1632, allocations: 37.95 kB / 356.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000244/0.1634, allocations: 322.8 kB / 356.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.1635, allocations: 23.98 kB / 357 MB, free: 13.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1636, allocations: 66.25 kB / 357 MB, free: 13.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.1638, allocations: 84.25 kB / 357.1 MB, free: 13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1638, allocations: 7.938 kB / 357.1 MB, free: 13 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002439/0.1641, allocations: 113.4 kB / 357.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1641, allocations: 4 kB / 357.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1641, allocations: 8.125 kB / 357.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1641, allocations: 3.938 kB / 357.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.1642, allocations: 12 kB / 357.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1643, allocations: 0 / 357.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.999e-05/0.1643, allocations: 19.83 kB / 357.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1644, allocations: 4 kB / 357.3 MB, free: 12.83 MB / 302.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.0001537/0.1645, allocations: 145.8 kB / 357.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1646, allocations: 57.52 kB / 357.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/0.1647, allocations: 29.7 kB / 357.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1647, allocations: 0 / 357.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.1647, allocations: 4 kB / 357.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1647, allocations: 3.938 kB / 357.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.165, allocations: 225.5 kB / 357.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.165, allocations: 0 / 357.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.1651, allocations: 8 kB / 357.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1651, allocations: 4 kB / 357.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1651, allocations: 0 / 357.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1651, allocations: 0 / 357.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1651, allocations: 8 kB / 357.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.1654, allocations: 162.5 kB / 357.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1655, allocations: 100.9 kB / 358 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.1656, allocations: 7.984 kB / 358 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.175e-05/0.1656, allocations: 11.98 kB / 358 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.1657, allocations: 11.94 kB / 358.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1657, allocations: 0 / 358.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002849/0.166, allocations: 196.5 kB / 358.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.166, allocations: 0 / 358.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1663, allocations: 32 kB / 358.3 MB, free: 11.73 MB / 302.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.001733/0.168, allocations: 1.012 MB / 359.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.1683, allocations: 63.92 kB / 359.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1683, allocations: 0 / 359.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.1684, allocations: 27.92 kB / 359.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.1688, allocations: 80.19 kB / 359.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.1718, allocations: 1.912 MB / 361.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.1723, allocations: 0.7319 MB / 362.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.1724, allocations: 25.53 kB / 362.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1725, allocations: 47.36 kB / 362.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1725, allocations: 0 / 362.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.2029, allocations: 4.505 MB / 366.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.477/8.68, allocations: 13.73 kB / 366.7 MB, free: 3.43 MB / 302.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