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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 118.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002457/0.002458, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 71.86 kB / 358.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.45, allocations: 50.54 MB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003046/0.4531, allocations: 1.593 MB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.4541, allocations: 0.5376 MB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.4542, allocations: 7.938 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.316e-05/0.4543, allocations: 7.922 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.4545, allocations: 11.88 kB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.4548, allocations: 63.3 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.4549, allocations: 51.8 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.455, allocations: 16.17 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.4552, allocations: 31.84 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.4553, allocations: 19.86 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.4553, allocations: 4 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.144e-05/0.4553, allocations: 8 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.4554, allocations: 15.92 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.4554, allocations: 27.81 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.4556, allocations: 63.73 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4556, allocations: 3.938 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4556, allocations: 0 / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.4556, allocations: 0 / 411.2 MB, free: 15.04 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.0005552/0.4562, allocations: 380.6 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4562, allocations: 8.031 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.4563, allocations: 46.73 kB / 411.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.4564, allocations: 12.84 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.4567, allocations: 208.6 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4567, allocations: 8.125 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.4567, allocations: 4 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.457, allocations: 117.9 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.457, allocations: 4 kB / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.4571, allocations: 0 / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4571, allocations: 0 / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.4572, allocations: 23.92 kB / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.4575, allocations: 278.6 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.4576, allocations: 67.84 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.4577, allocations: 34.56 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.4577, allocations: 0 / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.4578, allocations: 42.5 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4578, allocations: 0 / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002821/0.4581, allocations: 85.84 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.4581, allocations: 106.8 kB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4583, allocations: 152.7 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4583, allocations: 29.64 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.4584, allocations: 92.12 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.4584, allocations: 7.906 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.4584, allocations: 13.72 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4586, allocations: 318.8 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.4586, allocations: 12 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.4587, allocations: 39.36 kB / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.135e-05/0.4588, allocations: 47.36 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4588, allocations: 0 / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001336/0.4589, allocations: 73.52 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4589, allocations: 8 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4589, allocations: 0 / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.459, allocations: 0 / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.4591, allocations: 11.98 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4591, allocations: 4.062 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.4591, allocations: 11.94 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4591, allocations: 8.078 kB / 413.4 MB, free: 12.51 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 8.142e-05/0.4592, allocations: 121.7 kB / 413.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/0.4593, allocations: 57.52 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.4594, allocations: 11.88 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4594, allocations: 4 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4594, allocations: 7.922 kB / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4594, allocations: 4.062 kB / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.4596, allocations: 169.7 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4596, allocations: 0 / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.4597, allocations: 15.92 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4597, allocations: 0 / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.4597, allocations: 0 / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4597, allocations: 8 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4597, allocations: 3.938 kB / 413.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.4599, allocations: 177.2 kB / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/0.46, allocations: 93 kB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.46, allocations: 4 kB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.4601, allocations: 0 / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.4601, allocations: 11.88 kB / 414.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.4602, allocations: 3.984 kB / 414.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.402e-05/0.4602, allocations: 112.3 kB / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4602, allocations: 4 kB / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.4605, allocations: 8 kB / 414.2 MB, free: 11.6 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.0004813/0.461, allocations: 0.7102 MB / 414.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.4611, allocations: 27.92 kB / 415 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4611, allocations: 4 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.4612, allocations: 11.92 kB / 415 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.4616, allocations: 31.95 kB / 415 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.463, allocations: 1.403 MB / 416.4 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.4633, allocations: 0.6924 MB / 417.1 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.547e-05/0.4633, allocations: 3.984 kB / 417.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.4634, allocations: 15.44 kB / 417.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4634, allocations: 0 / 417.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.4831, allocations: 1.777 MB / 418.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/8.68, allocations: 8.047 kB / 418.9 MB, free: 6.863 MB / 334.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches