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.001889/0.001889, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002153/0.002153, allocations: 161.7 kB / 24.27 MB, free: 172 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.479/1.479, allocations: 177.1 MB / 204.6 MB, free: 5.605 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 2.415e-06/2.415e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.618e-05/3.859e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.004006/0.004044, allocations: 1.587 MB / 273.9 MB, free: 256 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.005343, allocations: 0.518 MB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.005448, allocations: 3.938 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.679e-05/0.005515, allocations: 11.92 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.005664, allocations: 3.938 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.006059, allocations: 67.61 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.006194, allocations: 47.8 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.006301, allocations: 20.11 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.006468, allocations: 39.89 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.006525, allocations: 8 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.006549, allocations: 4 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.51e-05/0.006595, allocations: 7.984 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.006644, allocations: 11.94 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.006821, allocations: 19.92 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.007003, allocations: 63.72 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.007007, allocations: 0 / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007008, allocations: 4 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.007014, 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.0005704/0.007584, allocations: 305.9 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.007627, allocations: 12.03 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.007824, allocations: 20.88 kB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.008134, allocations: 146.2 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.008144, allocations: 384 / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.008159, allocations: 8.375 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.008472, allocations: 109.3 kB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.00848, allocations: 0 / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.00849, allocations: 0 / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.008496, allocations: 0 / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.008592, allocations: 23.92 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.008962, allocations: 201.5 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.00908, allocations: 53.09 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.671e-05/0.009147, allocations: 25.77 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.00917, allocations: 4 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.009207, allocations: 30.56 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.009208, allocations: 0 / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003231/0.009531, allocations: 69.56 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.009633, allocations: 85.05 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.009817, allocations: 145 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.009845, allocations: 29.7 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.009922, allocations: 84.14 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.009941, allocations: 8.203 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.009993, allocations: 17.72 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.01018, allocations: 318.8 kB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.01023, allocations: 12 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.01026, allocations: 11.92 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.06e-05/0.01033, allocations: 16.84 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01033, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001313/0.01046, allocations: 57.7 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.01048, allocations: 7.938 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01049, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.0105, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.01057, allocations: 4 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.01058, allocations: 4 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.01061, allocations: 3.984 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.01063, allocations: 4 kB / 276.5 MB, free: 13.43 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.0001077/0.01073, allocations: 117.8 kB / 276.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.01081, allocations: 41.64 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.01084, allocations: 15.88 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01084, allocations: 0 / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01085, allocations: 0 / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.01085, allocations: 0 / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.01104, allocations: 121.2 kB / 276.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.01104, allocations: 3.984 kB / 276.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.01109, allocations: 4 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.0111, allocations: 0 / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.0111, allocations: 3.938 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.01111, allocations: 4 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01111, allocations: 4 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.01133, allocations: 160.3 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.01138, allocations: 15.94 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.0114, allocations: 7.984 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.01147, allocations: 0 / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.01151, allocations: 4 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.01151, allocations: 0 / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.01162, allocations: 111.2 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01162, allocations: 0 / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.01185, allocations: 4 kB / 277.1 MB, free: 12.77 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.0001248/0.01197, allocations: 103.2 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.0121, allocations: 15.98 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.0121, allocations: 4 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.01215, allocations: 15.92 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.01251, allocations: 20.23 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.01289, allocations: 173 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.74e-05/0.01298, allocations: 75.58 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.01302, allocations: 8 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.01305, allocations: 8.5 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01305, allocations: 0 / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Templates: time 0.003533/0.01658, allocations: 0.6393 MB / 278.2 MB, free: 11.67 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] 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.406373086036183]