Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00234/0.00234, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.63/1.63, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 43.94 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3718, allocations: 53.37 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.004757/0.3766, allocations: 1.607 MB / 433.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3782, allocations: 0.5648 MB / 433.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.3783, allocations: 3.938 kB / 433.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.941e-05/0.3784, allocations: 7.875 kB / 433.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.3787, allocations: 11.94 kB / 433.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.3791, allocations: 63.75 kB / 433.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.3793, allocations: 47.84 kB / 433.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3794, allocations: 12.17 kB / 434 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.3796, allocations: 35.86 kB / 434 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.235e-05/0.3797, allocations: 15.92 kB / 434 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3797, allocations: 4 kB / 434 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.311e-05/0.3798, allocations: 8 kB / 434 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.3799, allocations: 19.91 kB / 434 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.3799, allocations: 27.75 kB / 434.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.3802, allocations: 60.94 kB / 434.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3802, allocations: 0 / 434.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3802, allocations: 4 kB / 434.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3802, allocations: 0 / 434.1 MB, free: 4.406 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.0007117/0.3809, allocations: 313.9 kB / 434.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.381, allocations: 12.02 kB / 434.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.3812, allocations: 12.89 kB / 434.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.3815, allocations: 150.8 kB / 434.6 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.3815, allocations: 384 / 434.6 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.3816, allocations: 7.938 kB / 434.6 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.3819, allocations: 125.9 kB / 434.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3819, allocations: 0 / 434.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3819, allocations: 0 / 434.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3819, allocations: 0 / 434.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.382, allocations: 23.92 kB / 434.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.3824, allocations: 253.6 kB / 435 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3826, allocations: 59.86 kB / 435.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.719e-05/0.3827, allocations: 38.56 kB / 435.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.3827, allocations: 4 kB / 435.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.3827, allocations: 34.56 kB / 435.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3827, allocations: 3.938 kB / 435.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000345/0.3831, allocations: 89.69 kB / 435.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.3832, allocations: 114.8 kB / 435.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.3834, allocations: 147.6 kB / 435.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.3834, allocations: 29.69 kB / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.3835, allocations: 88.14 kB / 435.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.3835, allocations: 4 kB / 435.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.3835, allocations: 17.86 kB / 435.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3837, allocations: 322.8 kB / 435.9 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.3837, allocations: 12 kB / 436 MB, free: 2.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.3838, allocations: 31.42 kB / 436 MB, free: 2.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.3839, allocations: 51.36 kB / 436 MB, free: 2.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3839, allocations: 0 / 436 MB, free: 2.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001385/0.3841, allocations: 65.61 kB / 436.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3841, allocations: 4 kB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3841, allocations: 4 kB / 436.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3841, allocations: 0 / 436.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.3842, allocations: 20.05 kB / 436.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3842, allocations: 0 / 436.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.3842, allocations: 7.938 kB / 436.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.3842, allocations: 0 / 436.1 MB, free: 2.137 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.0001069/0.3843, allocations: 121.8 kB / 436.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.3844, allocations: 53.55 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.3845, allocations: 15.95 kB / 436.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3845, allocations: 0 / 436.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3845, allocations: 8.062 kB / 436.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3845, allocations: 3.938 kB / 436.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.3847, allocations: 140.7 kB / 436.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3847, allocations: 96 / 436.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.3848, allocations: 15.92 kB / 436.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.3848, allocations: 3.984 kB / 436.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.3848, allocations: 8 kB / 436.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3848, allocations: 0 / 436.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3848, allocations: 4 kB / 436.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.3851, allocations: 181.1 kB / 436.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.3851, allocations: 23.88 kB / 436.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3851, allocations: 3.938 kB / 436.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.3852, allocations: 4 kB / 436.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.3852, allocations: 3.938 kB / 436.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3852, allocations: 0 / 436.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.633e-05/0.3853, allocations: 120.8 kB / 436.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3853, allocations: 0 / 436.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.3856, allocations: 8 kB / 436.8 MB, free: 1.348 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.0001336/0.3857, allocations: 95.23 kB / 436.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.3859, allocations: 31.92 kB / 437 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3859, allocations: 0 / 437 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.3859, allocations: 12.25 kB / 437 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.3863, allocations: 27.95 kB / 437 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.3868, allocations: 188.5 kB / 437.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.3872, allocations: 0.6885 MB / 437.9 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.911e-05/0.3873, allocations: 8.25 kB / 437.9 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.3873, allocations: 11.44 kB / 437.9 MB, free: 232 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3873, allocations: 0 / 437.9 MB, free: 232 kB / 334.1 MB Notification: Performance of Templates: time 0.004212/0.3915, allocations: 0.6818 MB / 438.6 MB, free: 15.55 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.237693147035316]