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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 106.2 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 198.9 kB / 18.08 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.421/2.421, allocations: 222.9 MB / 241.8 MB, free: 13.83 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 49.89 kB / 300.6 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1972, allocations: 49.45 MB / 350.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.005953/0.2032, allocations: 1.624 MB / 351.7 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.2048, allocations: 0.4909 MB / 352.2 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.205, allocations: 4 kB / 352.2 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.917e-05/0.2052, allocations: 3.938 kB / 352.2 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.2055, allocations: 7.922 kB / 352.2 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.206, allocations: 47.89 kB / 352.2 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.2062, allocations: 39.8 kB / 352.3 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.2064, allocations: 20.17 kB / 352.3 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2065, allocations: 15.94 kB / 352.3 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.2066, allocations: 27.84 kB / 352.3 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.2067, allocations: 0 / 352.3 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.495e-05/0.2067, allocations: 4 kB / 352.4 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.2068, allocations: 15.92 kB / 352.4 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.2069, allocations: 23.81 kB / 352.4 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.207, allocations: 39.92 kB / 352.4 MB, free: 2.246 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.2071, allocations: 4 kB / 352.4 MB, free: 2.242 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2071, allocations: 0 / 352.4 MB, free: 2.242 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2071, allocations: 0 / 352.4 MB, free: 2.242 MB / 286.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.0008912/0.208, allocations: 386.1 kB / 352.8 MB, free: 1.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.461e-05/0.2081, allocations: 11.97 kB / 352.8 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.2082, allocations: 8.844 kB / 352.8 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.2086, allocations: 196.1 kB / 353 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.2086, allocations: 384 / 353 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.2086, allocations: 8.375 kB / 353 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.2091, allocations: 118 kB / 353.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2091, allocations: 3.938 kB / 353.1 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.2092, allocations: 0 / 353.1 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2092, allocations: 0 / 353.1 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.2093, allocations: 27.92 kB / 353.2 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.21, allocations: 278.6 kB / 353.4 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.2102, allocations: 67.8 kB / 353.5 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.2104, allocations: 30.62 kB / 353.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.2104, allocations: 3.984 kB / 353.5 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.2105, allocations: 42.48 kB / 353.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.2105, allocations: 0 / 353.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004563/0.211, allocations: 89.52 kB / 353.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.2111, allocations: 102.8 kB / 353.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.2113, allocations: 141.8 kB / 353.9 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.2114, allocations: 25.7 kB / 353.9 MB, free: 492 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2115, allocations: 96.06 kB / 354 MB, free: 392 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.2115, allocations: 8.281 kB / 354 MB, free: 384 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.2116, allocations: 21.72 kB / 354.1 MB, free: 356 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.2118, allocations: 318.8 kB / 354.4 MB, free: 28 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.2119, allocations: 8 kB / 354.4 MB, free: 20 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.212, allocations: 31.42 kB / 354.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.2122, allocations: 59.36 kB / 354.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.2122, allocations: 3.938 kB / 354.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000213/0.2124, allocations: 65.61 kB / 354.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.2125, allocations: 4 kB / 354.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.2125, allocations: 128 / 354.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2125, allocations: 8 kB / 354.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2127, allocations: 11.98 kB / 354.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2127, allocations: 3.938 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.2128, allocations: 7.906 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2128, allocations: 4 kB / 354.6 MB, free: 15.79 MB / 302.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.0001458/0.213, allocations: 121.8 kB / 354.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.2131, allocations: 53.53 kB / 354.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.2132, allocations: 11.94 kB / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2132, allocations: 0 / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.2132, allocations: 3.984 kB / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.2132, allocations: 4 kB / 354.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.2135, allocations: 173.6 kB / 354.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2135, allocations: 0 / 354.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.2136, allocations: 11.98 kB / 355 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.2136, allocations: 4.094 kB / 355 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2136, allocations: 0 / 355 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2137, allocations: 0 / 355 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/0.2137, allocations: 7.922 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.214, allocations: 185 kB / 355.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2141, allocations: 93 kB / 355.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.2142, allocations: 0 / 355.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2143, allocations: 4 kB / 355.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.2143, allocations: 4 kB / 355.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2144, allocations: 7.984 kB / 355.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.2145, allocations: 110.4 kB / 355.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2145, allocations: 0 / 355.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.2149, allocations: 8 kB / 355.4 MB, free: 14.9 MB / 302.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.0001698/0.2151, allocations: 106.3 kB / 355.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.2153, allocations: 28.11 kB / 355.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2153, allocations: 8.062 kB / 355.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.2155, allocations: 8 kB / 355.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006029/0.2161, allocations: 31.89 kB / 355.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.2167, allocations: 232.2 kB / 355.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.2172, allocations: 0.6926 MB / 356.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.2172, allocations: 7.438 kB / 356.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2172, allocations: 0 / 356.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of Templates: time 0.004717/0.222, allocations: 0.8368 MB / 357.3 MB, free: 12.89 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) 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) Reference file matches