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.002105/0.002105, 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.001586/0.001586, allocations: 191.7 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.612/1.612, allocations: 225.7 MB / 252.5 MB, free: 12.8 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,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=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.92 kB / 370.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2682, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003228/0.2714, allocations: 1.593 MB / 424.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009447/0.2724, allocations: 458.8 kB / 425.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.2725, allocations: 3.938 kB / 425.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.818e-05/0.2725, allocations: 7.938 kB / 425.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.2727, allocations: 15.92 kB / 425.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.2729, allocations: 47.83 kB / 425.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.273, allocations: 47.8 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.2731, allocations: 16.16 kB / 425.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.2732, allocations: 23.86 kB / 425.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.2733, allocations: 23.8 kB / 425.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2733, allocations: 0 / 425.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.2733, allocations: 4 kB / 425.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.2734, allocations: 11.94 kB / 425.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.2734, allocations: 31.84 kB / 425.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.2735, allocations: 49.95 kB / 425.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2735, allocations: 8 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2735, allocations: 0 / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.2735, allocations: 0 / 425.4 MB, free: 12.14 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.0004944/0.274, allocations: 306 kB / 425.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2741, allocations: 12.03 kB / 425.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.2741, allocations: 8.891 kB / 425.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.2744, allocations: 150.2 kB / 425.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2744, allocations: 4.375 kB / 425.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.2744, allocations: 384 / 425.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.2747, allocations: 118 kB / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2747, allocations: 0 / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2747, allocations: 4 kB / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.2747, allocations: 0 / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.2748, allocations: 27.86 kB / 426 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.2751, allocations: 214.3 kB / 426.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.2753, allocations: 71.72 kB / 426.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.315e-05/0.2754, allocations: 34.62 kB / 426.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.2754, allocations: 0 / 426.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.2754, allocations: 46.5 kB / 426.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2754, allocations: 0 / 426.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002775/0.2757, allocations: 85.88 kB / 426.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.2758, allocations: 102.8 kB / 426.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.2759, allocations: 144.4 kB / 426.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.276, allocations: 29.7 kB / 426.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.276, allocations: 88.14 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.2761, allocations: 3.953 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.2761, allocations: 21.7 kB / 426.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.2763, allocations: 314.8 kB / 427.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.8e-05/0.2764, allocations: 11.98 kB / 427.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-05/0.2765, allocations: 43.42 kB / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2766, allocations: 47.36 kB / 427.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.2766, allocations: 3.938 kB / 427.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002305/0.2769, allocations: 65.58 kB / 427.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.2769, allocations: 6.938 kB / 427.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2769, allocations: 4 kB / 427.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2769, allocations: 4 kB / 427.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.277, allocations: 15.92 kB / 427.3 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.277, allocations: 4 kB / 427.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.2771, allocations: 3.938 kB / 427.4 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.2771, allocations: 4 kB / 427.4 MB, free: 9.934 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.0001213/0.2772, allocations: 125.7 kB / 427.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.2773, allocations: 49.66 kB / 427.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.2774, allocations: 24.09 kB / 427.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2774, allocations: 0 / 427.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2774, allocations: 0 / 427.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.2774, allocations: 4 kB / 427.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.2775, allocations: 117.2 kB / 427.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2775, allocations: 0 / 427.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/0.2776, allocations: 15.92 kB / 427.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2776, allocations: 3.938 kB / 427.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2776, allocations: 8 kB / 427.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2776, allocations: 0 / 427.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2776, allocations: 0 / 427.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.2778, allocations: 181.1 kB / 427.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.2779, allocations: 15.94 kB / 427.9 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.2779, allocations: 4 kB / 427.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.2779, allocations: 0 / 427.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.278, allocations: 11.92 kB / 427.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.278, allocations: 0 / 427.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.252e-05/0.2781, allocations: 111.2 kB / 428 MB, free: 9.203 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2781, allocations: 0 / 428 MB, free: 9.203 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.2783, allocations: 8 kB / 428 MB, free: 9.195 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.0001118/0.2784, allocations: 99.25 kB / 428.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.2786, allocations: 31.92 kB / 428.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2786, allocations: 0 / 428.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.2786, allocations: 11.98 kB / 428.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.2791, allocations: 31.39 kB / 428.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.2795, allocations: 185.2 kB / 428.4 MB, free: 8.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.2796, allocations: 83.19 kB / 428.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.2796, allocations: 4 kB / 428.5 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.2796, allocations: 7.438 kB / 428.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2796, allocations: 3.938 kB / 428.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of Templates: time 0.003434/0.2831, allocations: 0.7322 MB / 429.2 MB, free: 7.977 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (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) [Timeout 480] 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: 4.654468620195985]