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.002728/0.002728, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003354/0.003354, allocations: 164.8 kB / 24.27 MB, free: 156 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.603/1.603, allocations: 177 MB / 204.4 MB, free: 5.633 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 7.494e-06/7.494e-06, allocations: 3.984 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.332e-05/4.082e-05, allocations: 2.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.006175/0.006216, allocations: 1.921 MB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.01066, allocations: 1.172 MB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.01083, allocations: 3.938 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.01186, allocations: 151.4 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008053/0.01267, allocations: 163.2 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009349/0.0136, allocations: 175.3 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.01414, allocations: 191.4 kB / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.01426, allocations: 21.8 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.01444, allocations: 103.7 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.01459, allocations: 67.8 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.01463, allocations: 8 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.01479, allocations: 63.89 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.804e-05/0.01488, allocations: 47.83 kB / 276.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.01495, allocations: 27.88 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.01533, allocations: 223.2 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01534, allocations: 0 / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01534, allocations: 0 / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.01534, allocations: 0 / 276.5 MB, free: 13.48 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.0008886/0.01623, allocations: 0.5553 MB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.01628, allocations: 15.92 kB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.04e-05/0.01636, allocations: 24.8 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.01679, allocations: 211.7 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.01681, allocations: 12.38 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.01683, allocations: 8.359 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.0172, allocations: 156.6 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.01721, allocations: 192 / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.01722, allocations: 384 / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.01723, allocations: 7.938 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.01734, allocations: 35.86 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.01796, allocations: 375 kB / 277.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.01824, allocations: 133.3 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.01834, allocations: 55.05 kB / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.01836, allocations: 3.938 kB / 278.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.01855, allocations: 77.05 kB / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.01855, allocations: 0 / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003837/0.01893, allocations: 137.4 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.01903, allocations: 111.1 kB / 278.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.01943, allocations: 340.3 kB / 278.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.01945, allocations: 29.7 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.0196, allocations: 174.9 kB / 278.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.01963, allocations: 27.89 kB / 279 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.0197, allocations: 35.33 kB / 279 MB, free: 10.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002975/0.02, allocations: 0.5118 MB / 279.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/0.02005, allocations: 12 kB / 279.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.02016, allocations: 80.69 kB / 279.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.02026, allocations: 47.38 kB / 279.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.02027, allocations: 0 / 279.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002145/0.02048, allocations: 105.5 kB / 279.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.0205, allocations: 4 kB / 279.7 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.0205, allocations: 0 / 279.7 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.02051, allocations: 4 kB / 279.7 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.02059, allocations: 8 kB / 279.8 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.0206, allocations: 0 / 279.8 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.02066, allocations: 7.984 kB / 279.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.02067, allocations: 8 kB / 279.8 MB, free: 9.902 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.0001583/0.02083, allocations: 172.8 kB / 279.9 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.02094, allocations: 73.52 kB / 280 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.0212, allocations: 103.4 kB / 280.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.0212, allocations: 0 / 280.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.02121, allocations: 7.984 kB / 280.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.02121, allocations: 4 kB / 280.1 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.02148, allocations: 200.5 kB / 280.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.02149, allocations: 0 / 280.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.02152, allocations: 8 kB / 280.3 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.02153, allocations: 11.88 kB / 280.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.02154, allocations: 0 / 280.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.02155, allocations: 4.062 kB / 280.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.02155, allocations: 4 kB / 280.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.02185, allocations: 175.6 kB / 280.5 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.02194, allocations: 35.78 kB / 280.6 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.02197, allocations: 4 kB / 280.6 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/0.02203, allocations: 4 kB / 280.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.02209, allocations: 7.984 kB / 280.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.02211, allocations: 8 kB / 280.6 MB, free: 9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.02236, allocations: 229.1 kB / 280.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02236, allocations: 0 / 280.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.02262, allocations: 35.92 kB / 280.8 MB, free: 8.742 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.003/0.02562, allocations: 430.4 kB / 281.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.02584, allocations: 71.56 kB / 281.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02584, allocations: 0 / 281.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/0.02593, allocations: 35.69 kB / 281.4 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.02637, allocations: 78.98 kB / 281.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.02699, allocations: 326.2 kB / 281.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.02714, allocations: 115.4 kB / 281.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.419e-05/0.0272, allocations: 13.48 kB / 281.9 MB, free: 7.777 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.02726, allocations: 24.48 kB / 281.9 MB, free: 7.754 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02726, allocations: 4 kB / 281.9 MB, free: 7.75 MB / 266.7 MB Notification: Performance of Templates: time 0.007183/0.03444, allocations: 2.622 MB / 284.5 MB, free: 5.16 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] 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.588595413020812]