Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001906/0.001906, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002155/0.002155, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.153e-05, allocations: 6.312 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003407/0.003438, allocations: 1.595 MB / 273.9 MB, free: 268 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.004731, allocations: 0.5336 MB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.004818, allocations: 3.938 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.485e-05/0.004873, allocations: 3.938 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.005028, allocations: 15.91 kB / 274.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.005371, allocations: 55.7 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.005516, allocations: 55.72 kB / 274.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.005621, allocations: 16.11 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.005769, allocations: 31.91 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.005825, allocations: 23.97 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.005846, allocations: 4 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.98e-05/0.005886, allocations: 4 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.005933, allocations: 15.92 kB / 274.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.005963, allocations: 15.94 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.006126, allocations: 55.8 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.00613, allocations: 0 / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.006131, allocations: 3.938 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.006135, allocations: 0 / 274.7 MB, free: 15.42 MB / 266.7 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.0006232/0.006759, allocations: 423.8 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.006806, allocations: 16.03 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.006991, allocations: 12.89 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.007242, allocations: 149 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.007252, allocations: 384 / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.007264, allocations: 4.375 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.007582, allocations: 120.7 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.00759, allocations: 4 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.007599, allocations: 0 / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.007602, allocations: 0 / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.82e-05/0.007671, allocations: 15.94 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.008041, allocations: 271.5 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.008164, allocations: 66.05 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.008215, allocations: 19.44 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.008237, allocations: 4 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.008273, allocations: 37.39 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.008273, allocations: 0 / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002512/0.008525, allocations: 69.56 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.008599, allocations: 81.11 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.008794, allocations: 208.9 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.008815, allocations: 29.64 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.00891, allocations: 138.9 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.008923, allocations: 3.953 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.008968, allocations: 23.38 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002729/0.009241, allocations: 0.4922 MB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.295e-05/0.009274, allocations: 4.25 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.009297, allocations: 11.94 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.734e-05/0.009365, allocations: 23.67 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.009366, allocations: 0 / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.891e-05/0.009465, allocations: 41.66 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.009481, allocations: 7.984 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.009485, allocations: 0 / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.009496, allocations: 0 / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.00955, allocations: 7.938 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.009554, allocations: 4.094 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.009583, allocations: 4 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.009591, allocations: 4 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.000121/0.009711, allocations: 160.5 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.00978, allocations: 41.64 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.009811, allocations: 11.81 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.009812, allocations: 0 / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.009815, allocations: 0 / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.009821, allocations: 4 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.01, allocations: 140.6 kB / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01, allocations: 4 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.01004, allocations: 4 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01004, allocations: 0 / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.01005, allocations: 0 / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.01006, allocations: 7.938 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01006, allocations: 0 / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.01029, allocations: 211.5 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.01033, allocations: 19.92 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.01035, allocations: 0 / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.01041, allocations: 8.031 kB / 277.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.01045, allocations: 7.969 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.01045, allocations: 0 / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.01056, allocations: 151.2 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 0 / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.01077, allocations: 4 kB / 277.7 MB, free: 12.08 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001141/0.01088, allocations: 95.23 kB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.011, allocations: 27.62 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.011, allocations: 4.062 kB / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.669e-05/0.01106, allocations: 23.61 kB / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.01138, allocations: 23.06 kB / 277.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.01175, allocations: 169.2 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.518e-05/0.01185, allocations: 75.58 kB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.105e-05/0.01188, allocations: 4 kB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.01192, allocations: 16.66 kB / 278.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01192, allocations: 4 kB / 278.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of Templates: time 0.00353/0.01545, allocations: 0.6382 MB / 278.8 MB, free: 10.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.6981212050886825]