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.001447/0.001447, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001762/0.001762, allocations: 216.7 kB / 23 MB, free: 5.609 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.557/1.557, allocations: 230.2 MB / 256.2 MB, free: 8.531 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 67.89 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4814, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003586/0.485, allocations: 1.625 MB / 431.4 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.4862, allocations: 0.5531 MB / 432 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.4863, allocations: 3.938 kB / 432 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.036e-05/0.4863, allocations: 7.922 kB / 432 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.4865, allocations: 15.88 kB / 432 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.4869, allocations: 71.17 kB / 432.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.487, allocations: 43.86 kB / 432.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4871, allocations: 12.17 kB / 432.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.4873, allocations: 35.78 kB / 432.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/0.4874, allocations: 19.86 kB / 432.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.4874, allocations: 4 kB / 432.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.585e-05/0.4874, allocations: 8 kB / 432.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.4875, allocations: 8 kB / 432.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.4875, allocations: 35.67 kB / 432.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.4877, allocations: 64.94 kB / 432.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4877, allocations: 4 kB / 432.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4877, allocations: 0 / 432.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.4877, allocations: 0 / 432.3 MB, free: 5.035 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.0006922/0.4884, allocations: 379.1 kB / 432.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.4885, allocations: 8.031 kB / 432.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.4887, allocations: 20.88 kB / 432.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.489, allocations: 220.2 kB / 432.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4891, allocations: 384 / 432.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.4891, allocations: 11.94 kB / 432.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.4894, allocations: 105.9 kB / 433 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4894, allocations: 0 / 433 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.4894, allocations: 8 kB / 433 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4895, allocations: 0 / 433 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.059e-05/0.4895, allocations: 23.92 kB / 433.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.49, allocations: 278.5 kB / 433.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.4902, allocations: 71.78 kB / 433.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.4903, allocations: 30.62 kB / 433.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.4903, allocations: 4 kB / 433.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.4903, allocations: 34.56 kB / 433.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4903, allocations: 0 / 433.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003373/0.4907, allocations: 93.48 kB / 433.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.4908, allocations: 102.8 kB / 433.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.4909, allocations: 149.7 kB / 433.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.491, allocations: 30.08 kB / 433.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.491, allocations: 92.14 kB / 433.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.491, allocations: 3.984 kB / 433.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.4911, allocations: 21.67 kB / 434 MB, free: 3.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4913, allocations: 318.8 kB / 434.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.4913, allocations: 7.984 kB / 434.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.4914, allocations: 39.36 kB / 434.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.4915, allocations: 47.42 kB / 434.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4915, allocations: 0 / 434.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001605/0.4917, allocations: 69.62 kB / 434.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.4917, allocations: 7.984 kB / 434.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4917, allocations: 4 kB / 434.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4917, allocations: 4 kB / 434.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.27e-05/0.4918, allocations: 8 kB / 434.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4918, allocations: 4 kB / 434.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.4919, allocations: 7.891 kB / 434.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4919, allocations: 7.984 kB / 434.5 MB, free: 2.566 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 0.0001128/0.492, allocations: 117.8 kB / 434.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-05/0.4921, allocations: 61.58 kB / 434.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.4921, allocations: 11.88 kB / 434.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4921, allocations: 0 / 434.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4921, allocations: 0 / 434.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.4921, allocations: 3.938 kB / 434.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.4924, allocations: 173.6 kB / 434.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4924, allocations: 0 / 434.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.88e-05/0.4924, allocations: 11.94 kB / 434.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.4924, allocations: 4 kB / 434.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.4925, allocations: 8 kB / 434.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4925, allocations: 0 / 434.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4925, allocations: 0 / 434.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.4927, allocations: 181.1 kB / 435 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4928, allocations: 93.03 kB / 435.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.4929, allocations: 4 kB / 435.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.4929, allocations: 8 kB / 435.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.493, allocations: 3.938 kB / 435.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.493, allocations: 4 kB / 435.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.4931, allocations: 110.2 kB / 435.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4931, allocations: 3.938 kB / 435.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.4934, allocations: 11.94 kB / 435.3 MB, free: 1.66 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.0002201/0.4936, allocations: 95.25 kB / 435.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.4938, allocations: 39.91 kB / 435.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4938, allocations: 0 / 435.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.4939, allocations: 8 kB / 435.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.4943, allocations: 24.02 kB / 435.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.4948, allocations: 200.7 kB / 435.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.4953, allocations: 0.6963 MB / 436.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.189e-05/0.4953, allocations: 0 / 436.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.4954, allocations: 15.44 kB / 436.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4954, allocations: 0 / 436.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of Templates: time 0.004418/0.4998, allocations: 0.6703 MB / 437 MB, free: 15.86 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.189120197668672]