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.001259/0.001259, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001334/0.001334, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.441/1.441, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.001755/0.001755, allocations: 63.89 kB / 373.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1024, allocations: 53.32 MB / 426.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002758/0.1051, allocations: 1.572 MB / 428.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.1061, allocations: 0.5648 MB / 428.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.1062, allocations: 4 kB / 428.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.646e-05/0.1062, allocations: 7.922 kB / 428.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1064, allocations: 15.86 kB / 428.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1067, allocations: 59.81 kB / 428.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1068, allocations: 47.8 kB / 428.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.1069, allocations: 12.17 kB / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.107, allocations: 31.84 kB / 429 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.107, allocations: 19.86 kB / 429 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1071, allocations: 8 kB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-05/0.1071, allocations: 12 kB / 429 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.1071, allocations: 15.92 kB / 429 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.1072, allocations: 23.8 kB / 429 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.1073, allocations: 63.67 kB / 429.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1073, allocations: 0 / 429.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1073, allocations: 4 kB / 429.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1073, allocations: 0 / 429.1 MB, free: 2.574 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.0004945/0.1078, allocations: 379 kB / 429.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1079, allocations: 12.03 kB / 429.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.1079, allocations: 42.73 kB / 429.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.108, allocations: 16.89 kB / 429.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1083, allocations: 204.7 kB / 429.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1083, allocations: 4.125 kB / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1083, allocations: 4 kB / 429.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.1086, allocations: 109 kB / 429.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1086, allocations: 0 / 429.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1086, allocations: 4 kB / 429.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1086, allocations: 0 / 429.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.126e-05/0.1087, allocations: 19.92 kB / 429.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.109, allocations: 265.8 kB / 430.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.1091, allocations: 45.16 kB / 430.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.1091, allocations: 17.77 kB / 430.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1091, allocations: 0 / 430.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1092, allocations: 42.56 kB / 430.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.1092, allocations: 0 / 430.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002291/0.1094, allocations: 65.56 kB / 430.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.1095, allocations: 81.11 kB / 430.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.1096, allocations: 145.8 kB / 430.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1096, allocations: 29.7 kB / 430.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.1097, allocations: 92.38 kB / 430.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.1097, allocations: 3.953 kB / 430.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.1097, allocations: 21.66 kB / 430.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1099, allocations: 318.8 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.1099, allocations: 11.94 kB / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.1099, allocations: 17.7 kB / 431 MB, free: 408 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.422e-05/0.11, allocations: 33.77 kB / 431.1 MB, free: 368 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.11, allocations: 0 / 431.1 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001114/0.1101, allocations: 57.58 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1101, allocations: 8 kB / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1101, allocations: 0 / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1102, allocations: 0 / 431.1 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.1102, allocations: 7.984 kB / 431.1 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1102, allocations: 8 kB / 431.1 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.1103, allocations: 7.938 kB / 431.1 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1103, allocations: 0 / 431.1 MB, free: 272 kB / 350.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.84e-05/0.1104, allocations: 117.8 kB / 431.3 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.1104, allocations: 41.59 kB / 431.3 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.1104, allocations: 11.88 kB / 431.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.1104, allocations: 0 / 431.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1104, allocations: 3.938 kB / 431.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1105, allocations: 0 / 431.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.1106, allocations: 177.7 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1106, allocations: 0 / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.1107, allocations: 4 kB / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1107, allocations: 4 kB / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.1107, allocations: 0 / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1107, allocations: 4 kB / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1107, allocations: 3.938 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.1109, allocations: 172.3 kB / 431.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.1109, allocations: 89.05 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.111, allocations: 0 / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/0.111, allocations: 4 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1111, allocations: 3.938 kB / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1111, allocations: 0 / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.117e-05/0.1111, allocations: 118.6 kB / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1111, allocations: 0 / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.1114, allocations: 8.031 kB / 431.9 MB, free: 15.41 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.0004586/0.1118, allocations: 0.6898 MB / 432.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.1119, allocations: 27.95 kB / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1119, allocations: 0 / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.112, allocations: 11.98 kB / 432.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1123, allocations: 33.12 kB / 432.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1136, allocations: 1.325 MB / 434 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1139, allocations: 0.6885 MB / 434.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.255e-05/0.1139, allocations: 4 kB / 434.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.1139, allocations: 19.44 kB / 434.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1139, allocations: 0 / 434.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.1361, allocations: 1.636 MB / 436.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.644, allocations: 19.91 kB / 436.3 MB, free: 10.93 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.198156495112926]