Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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: 112.5 kB / 20.43 MB, free: 1.453 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.001403/0.001403, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.434/1.434, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 59.91 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2686, allocations: 53.4 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002939/0.2716, allocations: 1.615 MB / 432.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2726, allocations: 0.5648 MB / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.2727, allocations: 7.938 kB / 433.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.91e-05/0.2728, allocations: 3.938 kB / 433.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.2729, allocations: 11.88 kB / 433.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.2732, allocations: 63.75 kB / 433.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.2733, allocations: 43.86 kB / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.2734, allocations: 20.16 kB / 433.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2736, allocations: 27.92 kB / 433.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.2736, allocations: 27.8 kB / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.2736, allocations: 4 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.2737, allocations: 4 kB / 433.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.2737, allocations: 23.84 kB / 433.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.2738, allocations: 27.75 kB / 433.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.274, allocations: 60.16 kB / 433.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.274, allocations: 4 kB / 433.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.274, allocations: 0 / 433.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.274, allocations: 4 kB / 433.7 MB, free: 4.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004963/0.2745, allocations: 305.9 kB / 434 MB, free: 3.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2745, allocations: 8.031 kB / 434 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.2746, allocations: 34.73 kB / 434 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.2747, allocations: 16.89 kB / 434.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.275, allocations: 146.5 kB / 434.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.275, allocations: 20.05 kB / 434.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.275, allocations: 4 kB / 434.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.2753, allocations: 105.9 kB / 434.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2753, allocations: 0 / 434.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.2753, allocations: 8 kB / 434.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2753, allocations: 7.984 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.11e-05/0.2754, allocations: 19.98 kB / 434.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.2757, allocations: 241.6 kB / 434.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.2759, allocations: 71.78 kB / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.2759, allocations: 30.64 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.276, allocations: 0 / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.276, allocations: 42.55 kB / 434.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.276, allocations: 4 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002868/0.2763, allocations: 93.39 kB / 434.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.2764, allocations: 106.8 kB / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.2765, allocations: 149.7 kB / 435.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.2765, allocations: 29.7 kB / 435.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.2766, allocations: 84.52 kB / 435.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.2766, allocations: 8 kB / 435.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.2766, allocations: 21.66 kB / 435.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2768, allocations: 318.8 kB / 435.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.165e-05/0.2768, allocations: 7.984 kB / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.2769, allocations: 31.44 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.306e-05/0.277, allocations: 51.36 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.277, allocations: 0 / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001467/0.2771, allocations: 73.55 kB / 435.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2771, allocations: 8.125 kB / 435.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2771, allocations: 0 / 435.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2772, allocations: 8.031 kB / 435.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.469e-05/0.2772, allocations: 11.98 kB / 435.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2772, allocations: 3.938 kB / 435.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.2773, allocations: 7.984 kB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2773, allocations: 0 / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001021/0.2774, allocations: 117.8 kB / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.2775, allocations: 61.58 kB / 435.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.2775, allocations: 15.95 kB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2775, allocations: 0 / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2775, allocations: 3.938 kB / 435.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2775, allocations: 4 kB / 435.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.2777, allocations: 140.7 kB / 436.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2777, allocations: 4 kB / 436.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.2778, allocations: 7.984 kB / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2778, allocations: 4 kB / 436.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.2778, allocations: 0 / 436.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2778, allocations: 3.938 kB / 436.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.2778, allocations: 11.97 kB / 436.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.278, allocations: 173.2 kB / 436.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.278, allocations: 15.94 kB / 436.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.278, allocations: 4 kB / 436.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.2781, allocations: 7.938 kB / 436.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.2781, allocations: 11.92 kB / 436.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.2782, allocations: 0 / 436.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.882e-05/0.2782, allocations: 110.3 kB / 436.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2782, allocations: 0 / 436.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.2785, allocations: 8 kB / 436.4 MB, free: 1.078 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005426/0.279, allocations: 0.7102 MB / 437.1 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.2791, allocations: 31.92 kB / 437.2 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2791, allocations: 0 / 437.2 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.2792, allocations: 8.234 kB / 437.2 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.2795, allocations: 46.7 kB / 437.2 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.281, allocations: 1.409 MB / 438.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.2814, allocations: 0.6885 MB / 439.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.243e-05/0.2814, allocations: 7.984 kB / 439.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.2815, allocations: 19.44 kB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2815, allocations: 0 / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.3121, allocations: 1.856 MB / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.8, allocations: 16.66 kB / 441.2 MB, free: 12.23 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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: 13.176697260001674]