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.001838/0.001838, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002138/0.002138, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.415/1.415, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001806/0.001806, allocations: 63.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.09745, allocations: 53.31 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002785/0.1002, allocations: 1.601 MB / 428.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000997/0.1012, allocations: 0.557 MB / 428.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.1013, allocations: 4 kB / 428.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.117e-05/0.1014, allocations: 11.86 kB / 428.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.1015, allocations: 19.92 kB / 428.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1018, allocations: 63.75 kB / 428.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.1019, allocations: 47.8 kB / 429 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.102, allocations: 16.17 kB / 429 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1021, allocations: 23.91 kB / 429 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.1022, allocations: 23.86 kB / 429 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1022, allocations: 4 kB / 429 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.748e-05/0.1022, allocations: 4 kB / 429 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.1023, allocations: 15.92 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.1023, allocations: 27.81 kB / 429.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.1025, allocations: 67.59 kB / 429.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1025, allocations: 4 kB / 429.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1025, allocations: 0 / 429.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1025, allocations: 0 / 429.2 MB, free: 2.5 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.0005116/0.103, allocations: 387 kB / 429.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1031, allocations: 8.031 kB / 429.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.1031, allocations: 38.73 kB / 429.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.1032, allocations: 12.89 kB / 429.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1035, allocations: 211.6 kB / 429.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.1035, allocations: 4.125 kB / 429.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1036, allocations: 8 kB / 429.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.1038, allocations: 109.8 kB / 429.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1038, allocations: 4 kB / 429.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1038, allocations: 4 kB / 429.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1038, allocations: 0 / 429.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.572e-05/0.1039, allocations: 19.98 kB / 429.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.1043, allocations: 274.5 kB / 430.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1044, allocations: 71.78 kB / 430.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.076e-05/0.1045, allocations: 30.62 kB / 430.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1045, allocations: 7.984 kB / 430.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1045, allocations: 34.56 kB / 430.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1045, allocations: 0 / 430.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002794/0.1048, allocations: 93.45 kB / 430.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.1049, allocations: 110.8 kB / 430.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.105, allocations: 142.1 kB / 430.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.105, allocations: 33.7 kB / 430.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.1051, allocations: 92.06 kB / 430.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.1051, allocations: 0 / 430.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1051, allocations: 21.67 kB / 430.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1053, allocations: 322.8 kB / 431.2 MB, free: 228 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/0.1053, allocations: 4 kB / 431.2 MB, free: 224 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.1054, allocations: 39.42 kB / 431.2 MB, free: 172 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.094e-05/0.1054, allocations: 51.3 kB / 431.2 MB, free: 108 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1055, allocations: 0 / 431.2 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001597/0.1056, allocations: 77.55 kB / 431.3 MB, free: 24 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1056, allocations: 4 kB / 431.3 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1056, allocations: 3.984 kB / 431.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1057, allocations: 8 kB / 431.3 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.414e-05/0.1057, allocations: 8 kB / 431.3 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.152e-05/0.1058, allocations: 4.188 kB / 431.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.1058, allocations: 7.938 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1058, allocations: 0 / 431.4 MB, free: 15.98 MB / 366.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 9.312e-05/0.1059, allocations: 121.9 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.106, allocations: 61.53 kB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.106, allocations: 11.88 kB / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.106, allocations: 0 / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.106, allocations: 0 / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.106, allocations: 11.92 kB / 431.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.1062, allocations: 165.7 kB / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1062, allocations: 4 kB / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.286e-05/0.1063, allocations: 4.094 kB / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.1063, allocations: 16.03 kB / 431.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1063, allocations: 0 / 431.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1063, allocations: 0 / 431.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.1063, allocations: 3.938 kB / 431.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.1065, allocations: 181.1 kB / 431.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.743e-05/0.1066, allocations: 89.05 kB / 432 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1066, allocations: 8 kB / 432 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.1067, allocations: 4 kB / 432 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.1067, allocations: 3.938 kB / 432 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1067, allocations: 7.984 kB / 432 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.798e-05/0.1068, allocations: 105.9 kB / 432.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1068, allocations: 0 / 432.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.107, allocations: 8 kB / 432.1 MB, free: 15.08 MB / 366.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.0005009/0.1075, allocations: 0.7102 MB / 432.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.1077, allocations: 35.92 kB / 432.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1077, allocations: 8.188 kB / 432.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.1077, allocations: 7.984 kB / 432.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.1081, allocations: 38.58 kB / 432.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.1095, allocations: 1.397 MB / 434.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1099, allocations: 0.6963 MB / 435 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.1099, allocations: 11.98 kB / 435 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.1099, allocations: 11.44 kB / 435.1 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1099, allocations: 0 / 435.1 MB, free: 12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.1343, allocations: 1.758 MB / 436.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/7.901, allocations: 11.42 kB / 436.8 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.459270579740405]