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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 181.7 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 43.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3128, allocations: 52.19 MB / 422.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003704/0.3165, allocations: 1.916 MB / 424.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3184, allocations: 1.075 MB / 425.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.3185, allocations: 7.938 kB / 425.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.3192, allocations: 155.5 kB / 425.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.3196, allocations: 115.6 kB / 425.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.3203, allocations: 206.5 kB / 426.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.3205, allocations: 179.5 kB / 426.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3207, allocations: 21.73 kB / 426.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3208, allocations: 83.62 kB / 426.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3209, allocations: 79.61 kB / 426.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.321, allocations: 11.94 kB / 426.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.3211, allocations: 55.97 kB / 426.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.3212, allocations: 43.83 kB / 426.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.3213, allocations: 67.55 kB / 426.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.3216, allocations: 215.8 kB / 426.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3216, allocations: 0 / 426.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3216, allocations: 0 / 426.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3216, allocations: 0 / 426.8 MB, free: 10.53 MB / 334.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.0008145/0.3224, allocations: 446.7 kB / 427.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3225, allocations: 8.031 kB / 427.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.3225, allocations: 38.75 kB / 427.3 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.3226, allocations: 24.78 kB / 427.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.323, allocations: 213.1 kB / 427.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.323, allocations: 384 / 427.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.323, allocations: 11.94 kB / 427.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.3233, allocations: 146.7 kB / 427.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3234, allocations: 0 / 427.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3234, allocations: 4 kB / 427.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3234, allocations: 4 kB / 427.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.3235, allocations: 31.92 kB / 427.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.324, allocations: 329.5 kB / 428.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.3243, allocations: 115.9 kB / 428.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.3244, allocations: 38.56 kB / 428.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.3244, allocations: 8 kB / 428.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.3246, allocations: 75.41 kB / 428.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3246, allocations: 3.938 kB / 428.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003832/0.325, allocations: 141.4 kB / 428.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.3251, allocations: 140.8 kB / 428.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.3254, allocations: 264.9 kB / 428.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.3254, allocations: 29.7 kB / 428.9 MB, free: 8.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.3255, allocations: 120.1 kB / 429 MB, free: 8.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.3255, allocations: 15.84 kB / 429 MB, free: 8.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.3256, allocations: 29.7 kB / 429 MB, free: 8.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3257, allocations: 326.8 kB / 429.3 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.501e-05/0.3258, allocations: 23.98 kB / 429.4 MB, free: 7.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3259, allocations: 69.94 kB / 429.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.3261, allocations: 80.25 kB / 429.5 MB, free: 7.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.3261, allocations: 4 kB / 429.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002108/0.3263, allocations: 109.5 kB / 429.6 MB, free: 7.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3263, allocations: 4 kB / 429.6 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3263, allocations: 4 kB / 429.6 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3263, allocations: 0 / 429.6 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/0.3264, allocations: 19.88 kB / 429.7 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3264, allocations: 0 / 429.7 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.239e-05/0.3265, allocations: 20 kB / 429.7 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3265, allocations: 4 kB / 429.7 MB, free: 7.379 MB / 334.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.0001613/0.3266, allocations: 142.1 kB / 429.8 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.3267, allocations: 65.55 kB / 429.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.327, allocations: 111.3 kB / 430 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.327, allocations: 0 / 430 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.327, allocations: 0 / 430 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.327, allocations: 12 kB / 430 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3272, allocations: 192.7 kB / 430.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3272, allocations: 0 / 430.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.3272, allocations: 7.938 kB / 430.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3273, allocations: 4 kB / 430.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3273, allocations: 4 kB / 430.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3273, allocations: 0 / 430.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3273, allocations: 4 kB / 430.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.3275, allocations: 154.6 kB / 430.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.3276, allocations: 35.78 kB / 430.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.3276, allocations: 4 kB / 430.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.3277, allocations: 8 kB / 430.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.3277, allocations: 11.92 kB / 430.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3278, allocations: 0 / 430.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.328, allocations: 196.5 kB / 430.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.328, allocations: 4 kB / 430.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3282, allocations: 28 kB / 430.6 MB, free: 6.324 MB / 334.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.00205/0.3303, allocations: 1.01 MB / 431.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.3305, allocations: 63.91 kB / 431.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3305, allocations: 0 / 431.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.591e-05/0.3306, allocations: 31.86 kB / 431.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.331, allocations: 72.27 kB / 431.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.3335, allocations: 1.925 MB / 433.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3339, allocations: 0.732 MB / 434.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.019e-05/0.3339, allocations: 21.48 kB / 434.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.272e-05/0.334, allocations: 47.42 kB / 434.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.334, allocations: 4 kB / 434.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.3656, allocations: 4.76 MB / 439.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.1, allocations: 14.83 kB / 439.3 MB, free: 13.72 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv","/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) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.789223869000125]