Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.00142/0.00142, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.001468/0.001468, allocations: 160.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.577e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003685/0.003711, allocations: 1.896 MB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.006325, allocations: 1.145 MB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.006494, allocations: 7.938 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.007243, allocations: 155.4 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.007751, allocations: 163.3 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.008289, allocations: 171.3 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.008625, allocations: 195.4 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.008853, allocations: 21.8 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.009052, allocations: 99.67 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.009199, allocations: 71.8 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.009231, allocations: 12 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.009397, allocations: 59.89 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.009486, allocations: 43.83 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.793e-05/0.009584, allocations: 39.86 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.00999, allocations: 207.2 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.009995, allocations: 7.984 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009996, allocations: 0 / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.01, allocations: 0 / 276.5 MB, free: 13.5 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008923/0.01089, allocations: 446.7 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.01093, allocations: 15.98 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/0.01103, allocations: 28.8 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.01141, allocations: 216.8 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.01143, allocations: 4.375 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.01146, allocations: 8.375 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.01183, allocations: 146.4 kB / 277.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.01184, allocations: 4.188 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.01185, allocations: 384 / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.01186, allocations: 7.938 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.01198, allocations: 31.92 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.01251, allocations: 294.1 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.01277, allocations: 115.8 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.01287, allocations: 42.56 kB / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.0129, allocations: 11.94 kB / 277.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.01322, allocations: 79.38 kB / 277.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.01322, allocations: 0 / 277.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004398/0.01366, allocations: 145.4 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/0.01375, allocations: 110.8 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.01409, allocations: 277.8 kB / 278.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.01412, allocations: 29.7 kB / 278.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.01423, allocations: 116.1 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.01425, allocations: 16.09 kB / 278.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.01431, allocations: 37.66 kB / 278.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.0145, allocations: 326.8 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.01457, allocations: 20.06 kB / 278.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.01468, allocations: 72.25 kB / 279 MB, free: 10.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.01481, allocations: 53.64 kB / 279.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01481, allocations: 0 / 279.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002239/0.01503, allocations: 105.5 kB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.01505, allocations: 7.984 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01506, allocations: 4.062 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.01508, allocations: 4 kB / 279.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.998e-05/0.01516, allocations: 8 kB / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01516, allocations: 0 / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.01522, allocations: 4 kB / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.01524, allocations: 7.984 kB / 279.2 MB, free: 10.51 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001542/0.01539, allocations: 134.1 kB / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.0155, allocations: 81.42 kB / 279.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.01577, allocations: 111.4 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.01578, allocations: 12.06 kB / 279.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01579, allocations: 0 / 279.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.01579, allocations: 3.984 kB / 279.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.016, allocations: 161.2 kB / 279.7 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.016, allocations: 3.984 kB / 279.7 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.01604, allocations: 4 kB / 279.7 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.01604, allocations: 7.938 kB / 279.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.01605, allocations: 3.938 kB / 279.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01606, allocations: 0 / 279.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/0.01606, allocations: 4 kB / 279.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.01637, allocations: 170.6 kB / 279.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/0.01645, allocations: 39.77 kB / 279.9 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.01648, allocations: 0 / 279.9 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.01654, allocations: 11.98 kB / 279.9 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.01659, allocations: 4 kB / 279.9 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.01661, allocations: 4 kB / 279.9 MB, free: 9.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000238/0.01685, allocations: 205.2 kB / 280.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01685, allocations: 0 / 280.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.0171, allocations: 31.92 kB / 280.2 MB, free: 9.457 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,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 (10): * Single equations (assignments): 8 * 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.001976/0.01908, allocations: 441.4 kB / 280.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.0193, allocations: 55.91 kB / 280.7 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.0193, allocations: 0 / 280.7 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.01939, allocations: 31.97 kB / 280.7 MB, free: 9.086 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.01982, allocations: 71.38 kB / 280.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006626/0.02049, allocations: 342.5 kB / 281.1 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.02063, allocations: 123.7 kB / 281.2 MB, free: 8.512 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.873e-05/0.0207, allocations: 17.48 kB / 281.2 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.02076, allocations: 20.5 kB / 281.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02076, allocations: 0 / 281.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of Templates: time 0.007056/0.02782, allocations: 2.633 MB / 283.9 MB, free: 5.875 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.318321441067383]