Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.001381/0.001381, allocations: 115.3 kB / 21.17 MB, free: 0.7812 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.001453/0.001453, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 76.05 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2784, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003894/0.2823, allocations: 1.95 MB / 434 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.2847, allocations: 1.336 MB / 435.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.2849, allocations: 4 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.2852, allocations: 75.59 kB / 435.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.2856, allocations: 131.4 kB / 435.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007342/0.2864, allocations: 231.3 kB / 435.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.2867, allocations: 191.4 kB / 435.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2868, allocations: 25.67 kB / 436 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.2869, allocations: 83.69 kB / 436.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.2871, allocations: 87.61 kB / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.2871, allocations: 8 kB / 436.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.2873, allocations: 75.88 kB / 436.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.2874, allocations: 51.78 kB / 436.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.2874, allocations: 79.42 kB / 436.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.2879, allocations: 264.4 kB / 436.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2879, allocations: 0 / 436.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2879, allocations: 0 / 436.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2879, allocations: 0 / 436.6 MB, free: 2.812 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008748/0.2888, allocations: 0.5542 MB / 437.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2888, allocations: 8.031 kB / 437.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.2889, allocations: 24.8 kB / 437.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.2894, allocations: 311.7 kB / 437.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2894, allocations: 4.375 kB / 437.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.2894, allocations: 16.06 kB / 437.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.2898, allocations: 180.4 kB / 437.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2898, allocations: 3.938 kB / 437.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.2899, allocations: 4 kB / 437.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2899, allocations: 3.984 kB / 437.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.29, allocations: 39.97 kB / 437.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.2906, allocations: 399.1 kB / 438.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.2909, allocations: 146.5 kB / 438.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.291, allocations: 63.34 kB / 438.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.2911, allocations: 4 kB / 438.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.2913, allocations: 75.38 kB / 438.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.2913, allocations: 8 kB / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004516/0.2917, allocations: 165.4 kB / 438.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.2919, allocations: 187.9 kB / 438.8 MB, free: 364 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.2923, allocations: 346.9 kB / 439.1 MB, free: 12 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.2923, allocations: 33.7 kB / 439.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2924, allocations: 128.8 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.2925, allocations: 27.89 kB / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.2925, allocations: 37.66 kB / 439.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2927, allocations: 338.8 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.2928, allocations: 23.98 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.2929, allocations: 107.6 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.2931, allocations: 101.9 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2931, allocations: 0 / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002738/0.2934, allocations: 141.4 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2934, allocations: 4 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2934, allocations: 0 / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2934, allocations: 4 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2935, allocations: 31.92 kB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.2935, allocations: 192 / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.893e-05/0.2936, allocations: 15.88 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2936, allocations: 4 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001691/0.2938, allocations: 158.1 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.2939, allocations: 85.44 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.2942, allocations: 119.3 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2942, allocations: 96 / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2942, allocations: 8 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2942, allocations: 7.922 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.2945, allocations: 245.6 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2945, allocations: 0 / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.052e-05/0.2946, allocations: 12 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2946, allocations: 3.938 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.2946, allocations: 11.98 kB / 440.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2946, allocations: 3.938 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2946, allocations: 4 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.2949, allocations: 183.4 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.295, allocations: 120.8 kB / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.2951, allocations: 8 kB / 441 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.2951, allocations: 4 kB / 441 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.2952, allocations: 11.98 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.2952, allocations: 11.94 kB / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.2955, allocations: 253.9 kB / 441.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2955, allocations: 3.938 kB / 441.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.2958, allocations: 32 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001537/0.2973, allocations: 447.2 kB / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.2976, allocations: 84.08 kB / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2976, allocations: 0 / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.2977, allocations: 24 kB / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.2981, allocations: 76.84 kB / 442 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.2989, allocations: 428.7 kB / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.2993, allocations: 0.7515 MB / 443.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.2994, allocations: 23.44 kB / 443.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2994, allocations: 0 / 443.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of Templates: time 0.006083/0.3055, allocations: 3.171 MB / 446.3 MB, free: 8.695 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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: 7.468026923947036]