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.001357/0.001357, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001388/0.001388, allocations: 195.1 kB / 23.71 MB, free: 4.406 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.398/1.398, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.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.001752/0.001752, allocations: 48.02 kB / 370.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2388, allocations: 52.19 MB / 422.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002777/0.2416, allocations: 1.587 MB / 424.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008365/0.2424, allocations: 462.8 kB / 424.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.2425, allocations: 3.938 kB / 424.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.2425, allocations: 7.922 kB / 424.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.2426, allocations: 7.938 kB / 424.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.2429, allocations: 47.83 kB / 424.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.813e-05/0.243, allocations: 51.78 kB / 424.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.243, allocations: 12.17 kB / 424.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.76e-05/0.2431, allocations: 23.86 kB / 424.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.2432, allocations: 27.86 kB / 424.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.2432, allocations: 0 / 424.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.2432, allocations: 4 kB / 424.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.2432, allocations: 15.92 kB / 424.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.2433, allocations: 23.86 kB / 424.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.2434, allocations: 57.38 kB / 424.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2434, allocations: 3.984 kB / 424.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2434, allocations: 0 / 424.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.2434, allocations: 0 / 424.9 MB, free: 12.22 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.0004322/0.2438, allocations: 302 kB / 425.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2439, allocations: 12.03 kB / 425.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.2439, allocations: 34.75 kB / 425.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.2439, allocations: 8.891 kB / 425.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.2442, allocations: 154.2 kB / 425.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.2442, allocations: 384 / 425.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.2442, allocations: 4.375 kB / 425.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2445, allocations: 133.8 kB / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2445, allocations: 0 / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2445, allocations: 3.984 kB / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2445, allocations: 3.938 kB / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.063e-05/0.2446, allocations: 23.92 kB / 425.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.2449, allocations: 241.7 kB / 425.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.245, allocations: 63.8 kB / 425.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.023e-05/0.2451, allocations: 34.62 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2451, allocations: 4 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.2451, allocations: 38.5 kB / 425.9 MB, free: 11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2451, allocations: 0 / 425.9 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002517/0.2454, allocations: 85.55 kB / 426 MB, free: 10.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.2455, allocations: 106.8 kB / 426.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.2456, allocations: 139.7 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2456, allocations: 30.08 kB / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.2457, allocations: 96.06 kB / 426.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.2457, allocations: 3.953 kB / 426.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.2457, allocations: 25.66 kB / 426.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2458, allocations: 322.8 kB / 426.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.2459, allocations: 8 kB / 426.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/0.2459, allocations: 35.42 kB / 426.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.3e-05/0.246, allocations: 47.36 kB / 426.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.246, allocations: 0 / 426.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.2462, allocations: 73.56 kB / 426.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2462, allocations: 8 kB / 426.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2462, allocations: 0 / 426.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2462, allocations: 0 / 426.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.2463, allocations: 8 kB / 426.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2463, allocations: 3.984 kB / 426.9 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.2463, allocations: 8.125 kB / 426.9 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2463, allocations: 11.88 kB / 426.9 MB, free: 9.918 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.618e-05/0.2464, allocations: 117.8 kB / 427 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.2465, allocations: 49.64 kB / 427.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.2465, allocations: 11.97 kB / 427.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2465, allocations: 4 kB / 427.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2465, allocations: 0 / 427.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2465, allocations: 7.922 kB / 427.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.2467, allocations: 140.7 kB / 427.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2467, allocations: 0 / 427.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.2468, allocations: 16.05 kB / 427.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2468, allocations: 0 / 427.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.2468, allocations: 4 kB / 427.3 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2468, allocations: 0 / 427.3 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2468, allocations: 4 kB / 427.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.247, allocations: 185.1 kB / 427.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.247, allocations: 15.88 kB / 427.5 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.247, allocations: 4 kB / 427.5 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.2471, allocations: 4 kB / 427.5 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.2471, allocations: 8 kB / 427.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.2471, allocations: 3.984 kB / 427.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.223e-05/0.2472, allocations: 110.4 kB / 427.6 MB, free: 9.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2472, allocations: 0 / 427.6 MB, free: 9.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.2475, allocations: 4 kB / 427.6 MB, free: 9.16 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.0004893/0.2479, allocations: 0.7102 MB / 428.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.2481, allocations: 36.11 kB / 428.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2481, allocations: 0 / 428.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.208e-05/0.2481, allocations: 15.92 kB / 428.4 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.2484, allocations: 20.2 kB / 428.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.2498, allocations: 1.396 MB / 429.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.794e-05/0.2499, allocations: 83.44 kB / 429.9 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.886e-05/0.2499, allocations: 0 / 429.9 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.25, allocations: 23.42 kB / 429.9 MB, free: 6.715 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.25, allocations: 0 / 429.9 MB, free: 6.715 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.2769, allocations: 2.28 MB / 432.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.71, allocations: 10.09 kB / 432.2 MB, free: 4.574 MB / 334.1 MB " [Timeout remaining time 649] (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/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_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: 13.001616569235921]