Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001246/0.001246, allocations: 124.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.001299/0.001299, allocations: 206.6 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.395/1.395, allocations: 230.4 MB / 254 MB, free: 15.03 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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.91 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09784/0.09981, allocations: 53.37 MB / 426.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003079/0.1029, allocations: 1.572 MB / 427.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1039, allocations: 0.5609 MB / 428.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.104, allocations: 7.938 kB / 428.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.599e-05/0.1041, allocations: 3.938 kB / 428.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.1042, allocations: 19.86 kB / 428.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.1045, allocations: 63.8 kB / 428.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.1046, allocations: 51.78 kB / 428.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.572e-05/0.1047, allocations: 8.188 kB / 428.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1048, allocations: 31.84 kB / 428.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.1049, allocations: 23.86 kB / 428.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1049, allocations: 4 kB / 428.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.04e-05/0.1049, allocations: 8 kB / 428.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.105, allocations: 15.92 kB / 428.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.105, allocations: 19.81 kB / 428.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1052, allocations: 71.67 kB / 428.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1052, allocations: 0 / 428.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1052, allocations: 0 / 428.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1052, allocations: 0 / 428.8 MB, free: 2.262 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004813/0.1057, allocations: 383 kB / 429.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1057, allocations: 8.031 kB / 429.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.1057, allocations: 38.75 kB / 429.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1059, allocations: 20.88 kB / 429.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1061, allocations: 208.6 kB / 429.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1061, allocations: 12.12 kB / 429.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.1061, allocations: 0 / 429.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.1064, allocations: 101 kB / 429.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1064, allocations: 4 kB / 429.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1064, allocations: 4 kB / 429.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1064, allocations: 0 / 429.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.074e-05/0.1065, allocations: 15.98 kB / 429.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.1068, allocations: 265.7 kB / 429.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.047e-05/0.1069, allocations: 49.2 kB / 429.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.107, allocations: 13.78 kB / 429.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.107, allocations: 7.938 kB / 429.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.107, allocations: 34.56 kB / 429.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.107, allocations: 0 / 429.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002423/0.1072, allocations: 73.66 kB / 430 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.1073, allocations: 77.11 kB / 430.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1075, allocations: 156.7 kB / 430.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1075, allocations: 25.7 kB / 430.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.1075, allocations: 84.14 kB / 430.3 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.1075, allocations: 11.94 kB / 430.4 MB, free: 472 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.1076, allocations: 13.72 kB / 430.4 MB, free: 452 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1077, allocations: 319 kB / 430.7 MB, free: 124 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/0.1078, allocations: 11.98 kB / 430.7 MB, free: 112 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.163e-05/0.1078, allocations: 17.72 kB / 430.7 MB, free: 88 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.126e-05/0.1079, allocations: 29.64 kB / 430.7 MB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1079, allocations: 4.062 kB / 430.7 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001419/0.108, allocations: 61.62 kB / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.108, allocations: 4 kB / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.108, allocations: 3.938 kB / 430.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.108, allocations: 0 / 430.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.1081, allocations: 4 kB / 430.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1081, allocations: 11.92 kB / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.1082, allocations: 0 / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.1082, allocations: 7.922 kB / 430.8 MB, free: 15.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.598e-05/0.1082, allocations: 121.9 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.1083, allocations: 33.66 kB / 431 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.1083, allocations: 15.86 kB / 431 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1083, allocations: 0 / 431 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.1084, allocations: 7.938 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1084, allocations: 0 / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1085, allocations: 165.7 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1085, allocations: 0 / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.1086, allocations: 15.94 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1086, allocations: 8.016 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1086, allocations: 0 / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1086, allocations: 0 / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1086, allocations: 3.938 kB / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.1088, allocations: 156.4 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.1088, allocations: 89.08 kB / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1089, allocations: 8 kB / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.1089, allocations: 3.984 kB / 431.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.109, allocations: 3.938 kB / 431.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.109, allocations: 4 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.355e-05/0.109, allocations: 111.2 kB / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.109, allocations: 0 / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.1093, allocations: 4 kB / 431.6 MB, free: 15.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004805/0.1097, allocations: 0.7014 MB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.1099, allocations: 23.92 kB / 432.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1099, allocations: 4 kB / 432.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.1099, allocations: 8.156 kB / 432.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1102, allocations: 25.81 kB / 432.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.1116, allocations: 1.329 MB / 433.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1119, allocations: 0.6924 MB / 434.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.838e-05/0.1119, allocations: 0 / 434.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.112, allocations: 23.42 kB / 434.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.112, allocations: 0 / 434.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.1349, allocations: 1.644 MB / 436 MB, free: 10.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/7.723, allocations: 3.984 kB / 436 MB, free: 10.61 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.335575600969605]