Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0026/0.0026, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00284/0.00284, allocations: 153.1 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.57e-05, allocations: 2.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003756/0.003782, allocations: 1.89 MB / 269.2 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.005941, allocations: 1.04 MB / 270.2 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.006075, allocations: 7.938 kB / 270.3 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007905/0.006866, allocations: 147.5 kB / 270.4 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.007234, allocations: 115.5 kB / 270.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.007844, allocations: 207.2 kB / 270.7 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.008132, allocations: 179.5 kB / 270.9 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.008244, allocations: 21.8 kB / 270.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.008428, allocations: 99.72 kB / 271 MB, free: 3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.008563, allocations: 63.8 kB / 271.1 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.008594, allocations: 8 kB / 271.1 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.008751, allocations: 67.83 kB / 271.1 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.008837, allocations: 47.84 kB / 271.2 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.008912, allocations: 35.86 kB / 271.2 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.009279, allocations: 207.2 kB / 271.4 MB, free: 2.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.009282, allocations: 0 / 271.4 MB, free: 2.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.009283, allocations: 0 / 271.4 MB, free: 2.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.009288, allocations: 0 / 271.4 MB, free: 2.578 MB / 250.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.001151/0.01044, allocations: 0.5592 MB / 272 MB, free: 1.977 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.01048, allocations: 8.031 kB / 272 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.01056, allocations: 20.84 kB / 272 MB, free: 1.949 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.01095, allocations: 223.7 kB / 272.2 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.01096, allocations: 384 / 272.2 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.01098, allocations: 8.375 kB / 272.2 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.01133, allocations: 148.6 kB / 272.4 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01134, allocations: 3.938 kB / 272.4 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.01136, allocations: 8 kB / 272.4 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.01136, allocations: 0 / 272.4 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.01146, allocations: 31.92 kB / 272.4 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.01205, allocations: 379 kB / 272.8 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.01233, allocations: 133.3 kB / 272.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.01242, allocations: 51.05 kB / 273 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.01245, allocations: 3.938 kB / 273 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.01262, allocations: 81.03 kB / 273.1 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.01262, allocations: 0 / 273.1 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003857/0.01301, allocations: 137.5 kB / 273.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.658e-05/0.0131, allocations: 114.8 kB / 273.3 MB, free: 472 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.01348, allocations: 328.2 kB / 273.6 MB, free: 124 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.0135, allocations: 25.7 kB / 273.7 MB, free: 92 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.01366, allocations: 170.9 kB / 273.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.01368, allocations: 15.91 kB / 273.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.01375, allocations: 39.36 kB / 273.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002881/0.01403, allocations: 0.504 MB / 274.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.0141, allocations: 15.98 kB / 274.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.0142, allocations: 77 kB / 274.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.01431, allocations: 63.28 kB / 274.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01432, allocations: 0 / 274.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001808/0.0145, allocations: 85.91 kB / 274.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01451, allocations: 4 kB / 274.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01452, allocations: 7.938 kB / 274.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.01454, allocations: 4 kB / 274.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.01461, allocations: 11.98 kB / 274.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.01462, allocations: 0 / 274.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.01468, allocations: 15.89 kB / 274.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.01469, allocations: 8.031 kB / 274.7 MB, free: 15.02 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.0001465/0.01484, allocations: 172.5 kB / 274.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/0.01494, allocations: 65.55 kB / 274.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.01518, allocations: 103.5 kB / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01519, allocations: 4 kB / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01519, allocations: 0 / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01519, allocations: 0 / 275 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.01542, allocations: 200.5 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01543, allocations: 0 / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.01546, allocations: 11.94 kB / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.01547, allocations: 4.062 kB / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.01547, allocations: 0 / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.01548, allocations: 7.984 kB / 275.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01548, allocations: 0 / 275.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.01577, allocations: 175.6 kB / 275.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/0.01584, allocations: 31.84 kB / 275.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.01587, allocations: 0 / 275.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.01593, allocations: 11.98 kB / 275.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.01597, allocations: 4 kB / 275.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.01599, allocations: 11.92 kB / 275.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.01621, allocations: 221.1 kB / 275.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01621, allocations: 0 / 275.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.01645, allocations: 31.92 kB / 275.7 MB, free: 13.89 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.002864/0.01932, allocations: 451.6 kB / 276.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.01953, allocations: 67.66 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01953, allocations: 3.938 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.01961, allocations: 35.67 kB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.02004, allocations: 75.94 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.02064, allocations: 310.1 kB / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.02078, allocations: 115.4 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.365e-05/0.02085, allocations: 21.67 kB / 276.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.0209, allocations: 24.5 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0209, allocations: 0 / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Templates: time 0.007227/0.02813, allocations: 2.577 MB / 279.4 MB, free: 10.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.584092078963295]