Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.105, allocations: 53.38 MB / 426.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003487/0.1085, allocations: 1.913 MB / 428.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1104, allocations: 1.227 MB / 429.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1105, allocations: 7.938 kB / 429.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005847/0.1111, allocations: 143.5 kB / 429.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1115, allocations: 155.4 kB / 429.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1119, allocations: 165.9 kB / 430 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.1122, allocations: 199.4 kB / 430.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1123, allocations: 25.53 kB / 430.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1124, allocations: 79.64 kB / 430.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1125, allocations: 79.61 kB / 430.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.1125, allocations: 8 kB / 430.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1127, allocations: 55.95 kB / 430.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.1127, allocations: 47.78 kB / 430.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.1128, allocations: 71.48 kB / 430.5 MB, free: 484 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.1131, allocations: 211.1 kB / 430.7 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1131, allocations: 4 kB / 430.7 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1131, allocations: 4 kB / 430.7 MB, free: 264 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1131, allocations: 0 / 430.7 MB, free: 264 kB / 350.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.1863/0.2994, allocations: 0.5155 MB / 431.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.2995, allocations: 9.312 kB / 431.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.2995, allocations: 37 kB / 431.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.426e-05/0.2996, allocations: 22.95 kB / 431.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.3, allocations: 275.4 kB / 431.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3001, allocations: 5.156 kB / 431.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.3001, allocations: 4.469 kB / 431.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.3005, allocations: 153 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3005, allocations: 3.938 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3005, allocations: 2.062 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3005, allocations: 2.203 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3006, allocations: 32.05 kB / 431.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.3011, allocations: 363.8 kB / 432.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.3013, allocations: 103.1 kB / 432.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.3014, allocations: 44.19 kB / 432.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.3015, allocations: 6.047 kB / 432.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.3016, allocations: 82.55 kB / 432.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.394e-06/0.3016, allocations: 4.219 kB / 432.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004008/0.302, allocations: 136.8 kB / 432.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.3021, allocations: 144.7 kB / 432.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.3024, allocations: 264.1 kB / 432.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3024, allocations: 31.83 kB / 432.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.3025, allocations: 117.7 kB / 433 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.3025, allocations: 21.62 kB / 433.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.3025, allocations: 31.14 kB / 433.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.585e-05/0.3026, allocations: 333.3 kB / 433.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.3027, allocations: 21.83 kB / 433.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-05/0.3028, allocations: 67.12 kB / 433.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.3029, allocations: 76.72 kB / 433.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3029, allocations: 3.938 kB / 433.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002116/0.3031, allocations: 111.3 kB / 433.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3031, allocations: 7.281 kB / 433.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3031, allocations: 1.906 kB / 433.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3031, allocations: 1.344 kB / 433.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.3032, allocations: 19.34 kB / 433.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3032, allocations: 3.094 kB / 433.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.315e-05/0.3033, allocations: 7.156 kB / 433.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3033, allocations: 6.125 kB / 433.7 MB, free: 9.488 MB / 350.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.0001086/0.3034, allocations: 147.9 kB / 433.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.3035, allocations: 69.27 kB / 433.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.3036, allocations: 24.41 kB / 434 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3036, allocations: 1.906 kB / 434 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3036, allocations: 4.844 kB / 434 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3036, allocations: 0 / 434 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.3037, allocations: 231.4 kB / 434.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3037, allocations: 5.828 kB / 434.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.3038, allocations: 4.406 kB / 434.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3038, allocations: 4.531 kB / 434.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3038, allocations: 7.406 kB / 434.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3038, allocations: 3.438 kB / 434.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3038, allocations: 1.406 kB / 434.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.304, allocations: 154.9 kB / 434.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.304, allocations: 113.1 kB / 434.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.3041, allocations: 2.219 kB / 434.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/0.3041, allocations: 14.22 kB / 434.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.3042, allocations: 8.75 kB / 434.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3042, allocations: 1.062 kB / 434.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.3044, allocations: 201.6 kB / 434.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3044, allocations: 2.562 kB / 434.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3046, allocations: 28.19 kB / 434.7 MB, free: 8.836 MB / 350.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.001787/0.3064, allocations: 1 MB / 435.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.3066, allocations: 67.42 kB / 435.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3066, allocations: 256 / 435.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/0.3067, allocations: 28.31 kB / 435.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.3071, allocations: 65.91 kB / 435.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.3091, allocations: 1.95 MB / 437.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3093, allocations: 0.7356 MB / 438.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.608e-05/0.3094, allocations: 30.72 kB / 438.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.3095, allocations: 50.09 kB / 438.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3095, allocations: 0 / 438.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.3383, allocations: 4.708 MB / 443.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/8.001, allocations: 12.95 kB / 443.4 MB, free: 5.266 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.511108934995718]