Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001016/0.001016, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001169/0.001169, allocations: 172.2 kB / 24.82 MB, free: 9.312 MB / 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.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.324e-05, allocations: 6.25 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.005912/0.005936, allocations: 1.935 MB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.007403, allocations: 1.169 MB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.007527, allocations: 7.938 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.008124, allocations: 159.3 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.00844, allocations: 155.3 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.008886, allocations: 179.3 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.009113, allocations: 191.4 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.009207, allocations: 17.75 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.009333, allocations: 103.7 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.00943, allocations: 67.8 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.009449, allocations: 8 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.009569, allocations: 63.83 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.009634, allocations: 47.78 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.009691, allocations: 43.84 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.009957, allocations: 151.5 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.009961, allocations: 0 / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.009962, allocations: 0 / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.009966, allocations: 0 / 277.7 MB, free: 13.01 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.0005578/0.01052, allocations: 0.5439 MB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.01056, allocations: 12.03 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.01062, allocations: 32.8 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.01086, allocations: 228.3 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.01088, allocations: 8.312 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.01089, allocations: 8.375 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.01109, allocations: 132.6 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.0111, allocations: 3.938 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.01111, allocations: 0 / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.01111, allocations: 4 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.01115, allocations: 19.91 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.01148, allocations: 319.7 kB / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.0116, allocations: 109.3 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.01164, allocations: 38.98 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.01166, allocations: 7.984 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.01178, allocations: 68.98 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.01179, allocations: 0 / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002155/0.012, allocations: 117.5 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.01205, allocations: 114.7 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.01223, allocations: 284.2 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.01226, allocations: 33.7 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.01234, allocations: 170.8 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.01236, allocations: 11.91 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.0124, allocations: 35.31 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003365/0.01273, allocations: 0.504 MB / 280.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.01275, allocations: 4 kB / 280.4 MB, free: 9.957 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.222e-05/0.01279, allocations: 68.98 kB / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.01284, allocations: 31.38 kB / 280.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.01284, allocations: 4 kB / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.314e-05/0.01293, allocations: 81.72 kB / 280.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01295, allocations: 4 kB / 280.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.01295, allocations: 0 / 280.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01297, allocations: 7.984 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.01303, allocations: 15.94 kB / 280.7 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.01303, allocations: 0 / 280.7 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.01307, allocations: 12 kB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.01307, allocations: 0 / 280.7 MB, free: 9.703 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 9.307e-05/0.01316, allocations: 171 kB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.01323, allocations: 61.44 kB / 280.9 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.01337, allocations: 95.44 kB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01337, allocations: 0 / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01338, allocations: 0 / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.01338, allocations: 4 kB / 281 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.01352, allocations: 141.1 kB / 281.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.01352, allocations: 4.062 kB / 281.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.01355, allocations: 12 kB / 281.1 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.01356, allocations: 7.875 kB / 281.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.01357, allocations: 4 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01357, allocations: 0 / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01357, allocations: 0 / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.0137, allocations: 143.6 kB / 281.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.01374, allocations: 31.84 kB / 281.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.01376, allocations: 3.938 kB / 281.3 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.424e-05/0.01381, allocations: 11.98 kB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.01384, allocations: 4 kB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.01385, allocations: 11.98 kB / 281.4 MB, free: 8.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.359e-05/0.01394, allocations: 193.1 kB / 281.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01394, allocations: 0 / 281.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.01411, allocations: 27.94 kB / 281.6 MB, free: 8.715 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.0008342/0.01495, allocations: 402.8 kB / 282 MB, free: 8.457 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.01505, allocations: 47.61 kB / 282 MB, free: 8.406 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01505, allocations: 0 / 282 MB, free: 8.406 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.01508, allocations: 27.66 kB / 282 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.01535, allocations: 68 kB / 282.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.01576, allocations: 310.1 kB / 282.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.982e-05/0.0158, allocations: 79.77 kB / 282.5 MB, free: 7.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.411e-05/0.01586, allocations: 13.48 kB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.671e-05/0.01596, allocations: 106.2 kB / 282.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of SimCode: time 1.373e-06/0.01596, allocations: 0 / 282.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of Templates: time 0.00499/0.02095, allocations: 2.878 MB / 285.5 MB, free: 4.926 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.838462021201849]