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.000986/0.000986, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001041/0.001041, allocations: 140.3 kB / 24.89 MB, free: 9.207 MB / 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 0.9815/0.9815, allocations: 173.3 MB / 201.5 MB, free: 9.172 MB / 186.7 MB " [Timeout remaining time 179] 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.843e-06/1.843e-06, allocations: 0 / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.269e-05, allocations: 6.25 kB / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003244/0.003267, allocations: 1.924 MB / 270.4 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.004471, allocations: 1.059 MB / 271.4 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.004554, allocations: 3.938 kB / 271.4 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004067/0.004961, allocations: 155.4 kB / 271.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.005144, allocations: 115.5 kB / 271.7 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.005462, allocations: 207.2 kB / 271.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.005626, allocations: 183.5 kB / 272.1 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.597e-05/0.005692, allocations: 14.47 kB / 272.1 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.005796, allocations: 99.72 kB / 272.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.005876, allocations: 63.8 kB / 272.3 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.005893, allocations: 8 kB / 272.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.026e-05/0.005983, allocations: 63.83 kB / 272.3 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.006031, allocations: 47.83 kB / 272.4 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.006071, allocations: 39.86 kB / 272.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.006256, allocations: 155.3 kB / 272.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006258, allocations: 0 / 272.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006258, allocations: 4 kB / 272.6 MB, free: 2.031 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.006261, allocations: 4 kB / 272.6 MB, free: 2.027 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.0003841/0.006645, allocations: 421.3 kB / 273 MB, free: 1.586 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.006672, allocations: 8.031 kB / 273 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.006706, allocations: 12.92 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.006912, allocations: 205.6 kB / 273.2 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.006926, allocations: 4.375 kB / 273.2 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.006939, allocations: 8.375 kB / 273.2 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.007107, allocations: 121.2 kB / 273.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.007115, allocations: 3.938 kB / 273.3 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.007123, allocations: 4 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.007129, allocations: 4 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.595e-05/0.007165, allocations: 18.75 kB / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.007382, allocations: 199.6 kB / 273.6 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.007749, allocations: 130.6 kB / 273.7 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.007777, allocations: 30.56 kB / 273.7 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.007793, allocations: 7.938 kB / 273.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.136e-05/0.007874, allocations: 66.16 kB / 273.8 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.007876, allocations: 0 / 273.8 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001286/0.008004, allocations: 77.59 kB / 273.9 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.008053, allocations: 115 kB / 274 MB, free: 444 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.008196, allocations: 226.7 kB / 274.2 MB, free: 200 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.008213, allocations: 33.7 kB / 274.2 MB, free: 160 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.008252, allocations: 104 kB / 274.3 MB, free: 52 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.008271, allocations: 15.83 kB / 274.4 MB, free: 36 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.008301, allocations: 25.7 kB / 274.4 MB, free: 4 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.008384, allocations: 330.8 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.008398, allocations: 10.83 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.008429, allocations: 56.27 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.008464, allocations: 31.61 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008466, allocations: 7.969 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.898e-05/0.008535, allocations: 68.44 kB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.008546, allocations: 6.969 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.00855, allocations: 4 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.008558, allocations: 0 / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.725e-05/0.008606, allocations: 19.92 kB / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.008608, allocations: 0 / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.00864, allocations: 7.984 kB / 274.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.008645, allocations: 0 / 274.9 MB, free: 15.43 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 6.889e-05/0.008714, allocations: 124.7 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.008754, allocations: 53.59 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.031e-05/0.008844, allocations: 79.39 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.008847, allocations: 0 / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.008848, allocations: 0 / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.008853, allocations: 4 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.6e-05/0.008939, allocations: 97.84 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.00894, allocations: 0 / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.008959, allocations: 15.92 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.008961, allocations: 0 / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.008967, allocations: 4 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.008969, allocations: 8 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.00897, allocations: 0 / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.009084, allocations: 108.5 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.009122, allocations: 23.83 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.009142, allocations: 11.94 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.009175, allocations: 4 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.009199, allocations: 3.984 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.009211, allocations: 4.062 kB / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.188e-05/0.009273, allocations: 81.61 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009273, allocations: 7.875 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000135/0.009408, allocations: 35.94 kB / 275.6 MB, free: 14.71 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.001278/0.01069, allocations: 0.5178 MB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.596e-05/0.01078, allocations: 40.78 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.01079, allocations: 0 / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.41e-05/0.01082, allocations: 24.83 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01105, allocations: 64.52 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.01145, allocations: 292.3 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.164e-05/0.0115, allocations: 75.83 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.01155, allocations: 13.48 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.01166, allocations: 79.36 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01166, allocations: 0 / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of Templates: time 0.005474/0.01713, allocations: 2.842 MB / 279.5 MB, free: 10.99 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","",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.7799022709950805]