Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008095/0.0008095, allocations: 83.69 kB / 20.68 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8843/0.8843, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.263e-05, allocations: 4.672 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002325/0.002347, allocations: 1.884 MB / 326.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.003714, allocations: 1.161 MB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.003822, allocations: 0 / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.004329, allocations: 159.4 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.004624, allocations: 159.2 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.004957, allocations: 171.4 kB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.005159, allocations: 191.4 kB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.256e-05/0.005251, allocations: 25.73 kB / 328.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.00536, allocations: 99.72 kB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.005452, allocations: 75.8 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.00547, allocations: 8 kB / 328.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.005583, allocations: 59.89 kB / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.005639, allocations: 47.83 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.005685, allocations: 31.88 kB / 328.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.005917, allocations: 219.2 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005919, allocations: 0 / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.00592, allocations: 0 / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005924, allocations: 0 / 328.8 MB, free: 11.64 MB / 298.7 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.0005203/0.006444, allocations: 450.7 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.006483, allocations: 8.031 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.00651, allocations: 42.75 kB / 329.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.00655, allocations: 20.8 kB / 329.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.006791, allocations: 208.8 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.006804, allocations: 8.375 kB / 329.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.006816, allocations: 4.375 kB / 329.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.007062, allocations: 149.5 kB / 329.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.007069, allocations: 8 kB / 329.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.007078, allocations: 3.938 kB / 329.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.007082, allocations: 0 / 329.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.772e-05/0.00715, allocations: 35.98 kB / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.007511, allocations: 317.5 kB / 330.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.007655, allocations: 107.9 kB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.007704, allocations: 42.56 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.00772, allocations: 4 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.007835, allocations: 87.3 kB / 330.3 MB, free: 9.992 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.007836, allocations: 0 / 330.3 MB, free: 9.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002364/0.008072, allocations: 141.5 kB / 330.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.008121, allocations: 110.8 kB / 330.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.008313, allocations: 277.9 kB / 330.8 MB, free: 9.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.008325, allocations: 29.7 kB / 330.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.008389, allocations: 120.4 kB / 331 MB, free: 9.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.008407, allocations: 19.84 kB / 331 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.008446, allocations: 29.66 kB / 331 MB, free: 9.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.008528, allocations: 334.8 kB / 331.3 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.008566, allocations: 23.92 kB / 331.4 MB, free: 8.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.008621, allocations: 72.25 kB / 331.4 MB, free: 8.773 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.965e-05/0.00869, allocations: 53.95 kB / 331.5 MB, free: 8.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.008692, allocations: 0 / 331.5 MB, free: 8.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001039/0.008796, allocations: 97.53 kB / 331.6 MB, free: 8.613 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.008807, allocations: 8.047 kB / 331.6 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.008812, allocations: 4 kB / 331.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.008822, allocations: 0 / 331.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.008875, allocations: 16 kB / 331.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.00888, allocations: 0 / 331.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.008912, allocations: 4 kB / 331.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.008918, allocations: 3.984 kB / 331.6 MB, free: 8.578 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.52e-05/0.009003, allocations: 144.2 kB / 331.8 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.009052, allocations: 65.55 kB / 331.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.009196, allocations: 119.4 kB / 331.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.009198, allocations: 0 / 331.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.009201, allocations: 0 / 331.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.009206, allocations: 4 kB / 331.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.009338, allocations: 196.6 kB / 332.1 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.009339, allocations: 3.938 kB / 332.1 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.009356, allocations: 4 kB / 332.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.009358, allocations: 0 / 332.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.009365, allocations: 4 kB / 332.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.009366, allocations: 0 / 332.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.009369, allocations: 4 kB / 332.1 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.009509, allocations: 166.5 kB / 332.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.009554, allocations: 35.78 kB / 332.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.009576, allocations: 11.98 kB / 332.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/0.009607, allocations: 64 / 332.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.009639, allocations: 12.08 kB / 332.4 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.009652, allocations: 11.94 kB / 332.4 MB, free: 7.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.009783, allocations: 209.1 kB / 332.6 MB, free: 7.531 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009783, allocations: 0 / 332.6 MB, free: 7.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.009953, allocations: 20 kB / 332.6 MB, free: 7.512 MB / 298.7 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0009628/0.01092, allocations: 1.04 MB / 333.6 MB, free: 6.621 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.01106, allocations: 63.91 kB / 333.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01106, allocations: 3.938 kB / 333.7 MB, free: 6.555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.01111, allocations: 27.98 kB / 333.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.01138, allocations: 63.67 kB / 333.8 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.01285, allocations: 1.907 MB / 335.7 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.121e-05/0.01293, allocations: 119.4 kB / 335.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.746e-05/0.01299, allocations: 25.61 kB / 335.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.01305, allocations: 60.41 kB / 335.9 MB, free: 4.227 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01305, allocations: 0 / 335.9 MB, free: 4.227 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.03368, allocations: 5.522 MB / 341.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.143, allocations: 10.66 kB / 341.4 MB, free: 14.77 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79247e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.935298615135252]