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.001251/0.001251, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009057/0.0009057, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8949/0.8949, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 2.514e-06/2.514e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.008e-05/4.26e-05, allocations: 6.219 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003143/0.003186, allocations: 1.574 MB / 320 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.00419, allocations: 466.7 kB / 320.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.004357, allocations: 4 kB / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.327e-05/0.004441, allocations: 7.922 kB / 320.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.004695, allocations: 15.81 kB / 320.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.005158, allocations: 55.5 kB / 320.6 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.005333, allocations: 51.78 kB / 320.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.005506, allocations: 16.11 kB / 320.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.005656, allocations: 35.89 kB / 320.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.005862, allocations: 15.98 kB / 320.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.005902, allocations: 4 kB / 320.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.132e-05/0.005923, allocations: 3.938 kB / 320.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.006009, allocations: 8 kB / 320.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.00605, allocations: 19.91 kB / 320.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.006238, allocations: 59.73 kB / 320.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.006243, allocations: 0 / 320.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.006246, allocations: 4 kB / 320.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.006252, allocations: 0 / 320.8 MB, free: 4.012 MB / 282.7 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.0004315/0.006683, allocations: 301.3 kB / 321.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.006729, allocations: 8.922 kB / 321.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.006768, allocations: 38.75 kB / 321.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.006797, allocations: 12.84 kB / 321.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.007029, allocations: 141.6 kB / 321.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.00704, allocations: 384 / 321.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.007051, allocations: 4.375 kB / 321.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.007333, allocations: 118.5 kB / 321.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.007343, allocations: 4.125 kB / 321.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.007354, allocations: 3.938 kB / 321.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.00736, allocations: 0 / 321.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.462e-05/0.007414, allocations: 19.98 kB / 321.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.007748, allocations: 241.7 kB / 321.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.007868, allocations: 79.72 kB / 321.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.007914, allocations: 26.64 kB / 321.7 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.007943, allocations: 4 kB / 321.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.007971, allocations: 38.55 kB / 321.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.007973, allocations: 0 / 321.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002457/0.008218, allocations: 85.5 kB / 321.9 MB, free: 2.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.008285, allocations: 111.2 kB / 322 MB, free: 2.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.008387, allocations: 141.8 kB / 322.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.0084, allocations: 33.7 kB / 322.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.008445, allocations: 88.12 kB / 322.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.00846, allocations: 3.953 kB / 322.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.008489, allocations: 13.72 kB / 322.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.008716, allocations: 322.8 kB / 322.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.008744, allocations: 4 kB / 322.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/0.008762, allocations: 7.984 kB / 322.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/0.008812, allocations: 24.86 kB / 322.6 MB, free: 1.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.008815, allocations: 0 / 322.6 MB, free: 1.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.08e-05/0.008886, allocations: 65.5 kB / 322.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.008901, allocations: 4 kB / 322.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.008906, allocations: 0 / 322.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.008919, allocations: 0 / 322.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.008981, allocations: 4 kB / 322.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.008985, allocations: 0 / 322.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.009002, allocations: 0 / 322.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.009011, allocations: 12.02 kB / 322.7 MB, free: 1.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.476e-05/0.009076, allocations: 113.8 kB / 322.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.009127, allocations: 57.52 kB / 322.9 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.009159, allocations: 11.97 kB / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.009162, allocations: 0 / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.009168, allocations: 4 kB / 322.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.009173, allocations: 3.984 kB / 322.9 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.009295, allocations: 148.6 kB / 323 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.009297, allocations: 4 kB / 323 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.009339, allocations: 12.06 kB / 323 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.009343, allocations: 3.984 kB / 323 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.009349, allocations: 0 / 323 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.009351, allocations: 4 kB / 323 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009352, allocations: 0 / 323 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.009467, allocations: 177.1 kB / 323.2 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.009501, allocations: 19.94 kB / 323.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.009513, allocations: 0 / 323.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.009548, allocations: 4 kB / 323.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.009573, allocations: 0 / 323.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.009577, allocations: 11.94 kB / 323.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.912e-05/0.009627, allocations: 110.2 kB / 323.4 MB, free: 1.086 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009627, allocations: 0 / 323.4 MB, free: 1.086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.009826, allocations: 8 kB / 323.4 MB, free: 1.078 MB / 282.7 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.0004138/0.01024, allocations: 0.7062 MB / 324.1 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.01039, allocations: 27.97 kB / 324.1 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.01039, allocations: 0 / 324.1 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/0.01042, allocations: 12 kB / 324.1 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.0108, allocations: 31.95 kB / 324.1 MB, free: 276 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.01213, allocations: 1.311 MB / 325.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.975e-05/0.01222, allocations: 75.61 kB / 325.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.01227, allocations: 8 kB / 325.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.01233, allocations: 20.48 kB / 325.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01233, allocations: 0 / 325.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.02978, allocations: 2.391 MB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.839, allocations: 15.17 kB / 328 MB, free: 12.47 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.552152831107378]