Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001303/0.001303, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.001299/0.001299, allocations: 189.2 kB / 20.73 MB, free: 2.336 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.39/1.39, allocations: 225.6 MB / 249.1 MB, free: 3.574 MB / 190.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.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 43.92 kB / 365.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09787, allocations: 52.15 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002842/0.1007, allocations: 1.594 MB / 419.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008816/0.1016, allocations: 494.7 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.1017, allocations: 7.938 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.1017, allocations: 7.922 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.1018, allocations: 15.86 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1021, allocations: 47.83 kB / 419.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1022, allocations: 39.92 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.1023, allocations: 16.17 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.1023, allocations: 35.78 kB / 420 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.1024, allocations: 15.92 kB / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1024, allocations: 7.938 kB / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.1024, allocations: 4 kB / 420.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.1025, allocations: 11.98 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.1025, allocations: 27.69 kB / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1026, allocations: 59.73 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1026, allocations: 0 / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1026, allocations: 4 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1026, allocations: 0 / 420.2 MB, free: 10.18 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.0004693/0.1031, allocations: 383 kB / 420.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1031, allocations: 8.031 kB / 420.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.1032, allocations: 34.69 kB / 420.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.1032, allocations: 12.89 kB / 420.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1035, allocations: 210.2 kB / 420.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1035, allocations: 8.375 kB / 420.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.1035, allocations: 4.375 kB / 420.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.1037, allocations: 109.8 kB / 420.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1037, allocations: 4 kB / 420.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1037, allocations: 4 kB / 420.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1038, allocations: 4 kB / 420.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.1038, allocations: 19.92 kB / 420.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.1042, allocations: 274.5 kB / 421.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1043, allocations: 71.78 kB / 421.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.1043, allocations: 34.62 kB / 421.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1044, allocations: 0 / 421.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1044, allocations: 34.5 kB / 421.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1044, allocations: 4 kB / 421.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002636/0.1047, allocations: 85.56 kB / 421.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.1047, allocations: 106.8 kB / 421.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.1049, allocations: 141.8 kB / 421.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1049, allocations: 29.7 kB / 421.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.1049, allocations: 92.52 kB / 421.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.105, allocations: 7.891 kB / 421.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.105, allocations: 21.7 kB / 421.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1051, allocations: 322.8 kB / 422.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.1052, allocations: 7.984 kB / 422.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.814e-05/0.1052, allocations: 35.42 kB / 422.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.328e-05/0.1053, allocations: 47.36 kB / 422.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1053, allocations: 0 / 422.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001294/0.1055, allocations: 65.58 kB / 422.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1055, allocations: 14.31 kB / 422.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1055, allocations: 0 / 422.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1055, allocations: 0 / 422.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.1056, allocations: 11.98 kB / 422.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.1056, allocations: 7.938 kB / 422.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.1056, allocations: 4 kB / 422.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1056, allocations: 7.938 kB / 422.3 MB, free: 7.688 MB / 350.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.0001001/0.1057, allocations: 122.4 kB / 422.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1058, allocations: 53.59 kB / 422.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.1059, allocations: 15.86 kB / 422.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1059, allocations: 4 kB / 422.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1059, allocations: 0 / 422.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1059, allocations: 0 / 422.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1061, allocations: 173.6 kB / 422.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1061, allocations: 0 / 422.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.1061, allocations: 11.98 kB / 422.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.1061, allocations: 4 kB / 422.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.1061, allocations: 0 / 422.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1062, allocations: 4 kB / 422.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1062, allocations: 4.062 kB / 422.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.1064, allocations: 185.2 kB / 422.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.1064, allocations: 89.05 kB / 423 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.1064, allocations: 4 kB / 423 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.1065, allocations: 7.984 kB / 423 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.1065, allocations: 8 kB / 423 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1066, allocations: 0 / 423 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.198e-05/0.1066, allocations: 113.5 kB / 423.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1066, allocations: 0 / 423.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.1069, allocations: 7.938 kB / 423.1 MB, free: 6.789 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: 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.0005308/0.1074, allocations: 0.7179 MB / 423.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.1075, allocations: 31.91 kB / 423.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1075, allocations: 0 / 423.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.1076, allocations: 12.25 kB / 423.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1079, allocations: 26.33 kB / 423.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.1094, allocations: 1.399 MB / 425.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1098, allocations: 0.6922 MB / 426 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.62e-05/0.1098, allocations: 7.984 kB / 426 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.1099, allocations: 15.38 kB / 426 MB, free: 3.719 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1099, allocations: 4 kB / 426 MB, free: 3.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.1336, allocations: 1.744 MB / 427.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/8.452, allocations: 6.297 kB / 427.8 MB, free: 2.086 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 11.270603323820978]